Skip to content

Small tool to decrypt passwords which are generated by `mvn --encrypt-master-password`

Notifications You must be signed in to change notification settings

winniehell-wasteland/decrypt-master-password

Repository files navigation

decrypt-master-password

Small tool to decrypt passwords which are generated by mvn --encrypt-master-password and stored in settings-security.xml (see documentation about Password Encryption in maven). You can see the relevant piece of code for encryption here

$ mvn --encrypt-master-password foo
{p/4zbBy9DFQHPpMPvz3tgwBf1tbXqDYFFbDzkMFTAtE=}
$ mvn --quiet exec:java <<< '{p/4zbBy9DFQHPpMPvz3tgwBf1tbXqDYFFbDzkMFTAtE=}'
Encrypted password:
Decrypted password: foo

About

Small tool to decrypt passwords which are generated by `mvn --encrypt-master-password`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages