gpg --gen-key and empty passphrase

David Shaw dshaw at jabberwocky.com
Thu Jul 1 17:24:22 CEST 2004


On Mon, May 31, 2004 at 01:16:19AM -0400, David Taylor wrote:
> I ran
> 
>     gpg --gen-key
> 
> and took the defaults for questions that had defaults.
> 
> When it asked for a pass phrase, I didn't have one pre-selected, so I
> figured what-they-heck, it's a laptop, no one has access but me, I'll
> make it empty and set it to something better in a day or two.
> 
> So, I pressed <enter> twice.  And everything appeared to be successful
> -- until I tried to change the passphrase few days later.  All
> operations that I have tried that require the passphrase fail.
> 
> I have tried control-j, control-m, and control-@ (null), and a couple
> of other possibilities.  But, alas, none worked.
> 
> So, when asked for a passphrase by gpg --gen-key if you press <return>,
> what passphrase does it use?

It uses no passphrase at all.

David



More information about the Gnupg-devel mailing list