Add age hash format and age2john utility#6014
Conversation
solardiz
left a comment
There was a problem hiding this comment.
Thank you. I made some comments, including changes that really need to be made and a few that are optional. When making changes, please amend the commit and force-push - don't add more commits. We'll also need a doc/NEWS entry for this, but we have those in other pending PRs, so maybe unwise to add it yet or we'd have merge conflicts.
|
Thanks for the review. I've amended the commit and force pushed. Now I'm a bit scared. I hope it's correct. I'll add samples to the john-samples repo if this pull request looks ok to the reviewer(s). |
|
In the latest force push I changed the password for the second fmt_test vector to password123 to match the samples in openwall/john-samples#48 Both passwords are in the default john wordlist password.lst. |
Support cracking age (https://age-encryption.org/) passphrase-encrypted files (scrypt + ChaCha20-Poly1305) and extracting hashes with age2john.py Skips non-scrypt recipients (X25519, SSH, plugins). age2john.py is compatible with python2.7 and python3.
|
I changed the second test vector to be exactly the same as in the john-samples repository. All comments are now addressed as far as I can see. |
Support cracking age (https://age-encryption.org/) passphrase-encrypted files (scrypt + ChaCha20-Poly1305) and extracting hashes with age2john.py
Skips non-scrypt recipients (X25519, SSH, plugins), age2john.py is compatible with python2.7 and python3.