2 Bugs in gpg 1.2.0

David Shaw dshaw at jabberwocky.com
Sat Sep 28 20:38:01 CEST 2002


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.

If you delete your .gnupg directory, you need to recreate it with
"gpg" (no options) first, and then you can generate a new key.

> $ gpg -o rev.asc --gen-revoke kahlert
> seems to work (rev.asc looks good for me).
> $ gpg --import rev.asc
> gpg: key A2F2160E: invalid revocation certificate: general error - rejected
> gpg: error reading `rev.asc': general error
> gpg: import from `rev.asc' failed: general error
> gpg: Total number processed: 0

Argh, bug.  I fixed it.  Thanks for the report.

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