|
|
4 시간 전 | |
|---|---|---|
| .github | 4 달 전 | |
| .mvn | 4 달 전 | |
| .vscode | 1 년 전 | |
| src | 4 시간 전 | |
| .gitignore | 1 년 전 | |
| DEVELOPMENT.md | 1 년 전 | |
| Jenkinsfile | 4 시간 전 | |
| LICENSE.md | 1 년 전 | |
| README.md | 4 시간 전 | |
| SECURITY.md | 1 년 전 | |
| ci.yaml | 4 시간 전 | |
| pom.xml | 4 달 전 |
Enhance your Jenkins security with Time-based One-Time Password (TOTP) multi-factor authentication. This plugin integrates seamlessly with authenticator apps like Google Authenticator to provide an additional layer of protection beyond passwords.
# Build the plugin
mvn clean package
# Then upload the .hpi file from target/ directory via:
# Manage Jenkins → Plugins → Advanced → Upload Plugin
curl -X POST http://your-jenkins/configure \
-u admin:api_token \
-H "Content-Type: application/json" \
-d '{
"mfa": {
"enforceForAllUsers": true,
"excludeApiTokens": false,
"sessionDuration": 480
}
}'
For Admins:
For Users:
| Issue | Solution |
|---|---|
| Invalid TOTP codes | Verify server time synchronization |
| API access denied | Enable "Exclude API tokens" in settings |
| QR code not appearing | Check browser console for JavaScript errors |
For additional help, check the plugin logs at:
$JENKINS_HOME/logs/mfa-totp-plugin.log
mvn clean verify # Run full build with tests
mvn hpi:run # Launch test Jenkins instance
Pipeline is Jenkinsfile (contract also in ci.yaml).
On push to main and on pull requests targeting main, Jenkins:
mvn verify (unit + plugin tests) inside Docker.hpiSuccessful push to main also publishes the .hpi as a Gogs release.
Jenkins artifacts: last HPI.
feature/your-feature)Vulnerabilities should be reported following Jenkins security guidelines. Please do not disclose security issues publicly.
Licensed under MIT License.
✉️ Contact: For support questions, please use the Jenkins community forums.
This version improves: