Mailing List Archive

Lost GPG private key passphrase
Hello,

I have an oldish GPG key for which I have lost the passphrase. I have a
very good idea of what the passphrase is constructed but there are some
characters substitution that I must have used back then really escape my
memory now. I think that a tool like John the Ripper could make easy
work in retrieving it.

Does anyone know how to run john on a private key stored in the format
used by the new keystore used by gpg2?

Thank you.

Cheers,
Dan

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: Lost GPG private key passphrase [ In reply to ]
On Sun, Apr 14, 2024 at 4:55?PM Daniele Nicolodi via Gnupg-users <
gnupg-users@gnupg.org> wrote:

> I have an oldish GPG key for which I have lost the passphrase. I have a
> very good idea of what the passphrase is constructed but there are some
> characters substitution that I must have used back then really escape my
> memory now. I think that a tool like John the Ripper could make easy
> work in retrieving it.
> Does anyone know how to run john on a private key stored in the format
> used by the new keystore used by gpg2?
>

dunno much about new format or so? can this still work in this old blog
post?
maybe use an older gpg release on the private key file to export?

> <
https://blog.atucom.net/2015/08/cracking-gpg-key-passwords-using-john.html>