What's the best way to test a long list of passphrases?

Reid Thompson reid.thompson at ateb.com
Thu Oct 7 21:15:17 CEST 2010


On Thu, 2010-10-07 at 15:28 +0000, Will McDonald wrote:
> Hi,
> I have a GPG key to which I've forgotten the passphrase. That is, I
> remember the mnemonic I used, but not the particular set of l33tspeak
> substitutions and punctuation used, and guessing hasn't worked. It's a
> ~26 character passphrase, and since I know the options I might have
> used I was able to write a perl script to generate the 30,000 or so
> possible permutations that I might have used.
> 
> 
> Given that, what's the best way for me to test my 30,000 possible
> passphrases? I'd prefer to ask gnupg directly via some API (I'm fine
> writing a small C program if I know the relevant functions to use)
> rather than trying to script around the text ui (and it's 1-second
> delay after input).
> 
> 
> Any suggestions?
> 
> 
> -will
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users

http://www.gnupg.org/related_software/libraries.en.html

see
gpgme
libgcrypt



More information about the Gnupg-users mailing list