Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 743 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 743 Bytes

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