2 Bugs in gpg 1.2.0

David Shaw dshaw at jabberwocky.com
Wed Oct 16 16:10:02 CEST 2002


On Sat, Oct 05, 2002 at 09:48:40PM -0700, Jeremy Lin wrote:
> On Fri, Sep 27, 2002 at 05:40:32PM +0200, Martin Kahlert wrote:
> > Hi!
> > Here are some bugs with gpg-1.2.0 on FreeBSD:
> > 
> > $ /bin/rm -rf .gnupg
> > $ gpg --gen-key
> > [....]
> > gpg: no writable secret keyring found: eof
> > Key generation failed: eof
> > 
> > $ touch .gnupg/secring.gpg
> > $ gpg --gen-key
> > this works.
> 
> David Shaw <dshaw at jabberwocky.com> replied:
> 
> > If you delete your .gnupg directory, you need to recreate it with
> > "gpg" (no options) first, and then you can generate a new key.
> 
> Isn't this a little unintuitive? Some tutorials out there say that the
> first thing to do as a new GPG user is to do a 'gpg --gen-key', which
> then seems to work perfectly well until it bombs out unexpectedly with
> that error message. IMHO, I think this behavior is a bug.

It is a little unintuitive.  It's on my list to look at in the devel
version.

David

-- 
   David Shaw  |  dshaw at jabberwocky.com  |  WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson




More information about the Gnupg-devel mailing list