gpg --gen-key and empty passphrase

David Taylor taylor at candd.org
Mon May 31 07:16:19 CEST 2004


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?

BTW, the problem is repeatable.

Thanks.

David
--
David Taylor



More information about the Gnupg-devel mailing list