[Pkg-gnupg-maint] Bug#315677: Bug#317654: Bug#315677, 317654: keyring_rebuild_cache: Assertion `keyblock->pkt->pkttype == PKT_PUBLIC_KEY' failed.

Peter Krefting peter at softwolves.pp.se
Thu Jul 16 12:51:48 UTC 2009


Hi!

> Can you still reproduce the problem leading to this error:
>
> gpg: ../../g10/keyring.c:1388: keyring_rebuild_cache: Assertion
> `keyblock->pkt->pkttype == PKT_PUBLIC_KEY' failed.
> Aborted
>
> It means, that your keyring has been corrupted. If you can reproduce the
> problem somehow, can you please provide the keyring or a short
> step-by-step manual how to reproduce it?

I have a copy of my broken .gnupg directory. If I enable that, I can still 
reproduce the problem (and I'm now on an amd64 system, so it's 
cross-architecture):

   $ LC_ALL=en gpg --verify ~/download/debianize/lyskom/lyskom-server_2.1.2-10_amd64.changes
   gpg: Signature made Wed Jul 15 07:18:48 2009 CET using DSA key ID 6394265E
   gpg: checking the trustdb
   gpg: ../../g10/keyring.c:1391: keyring_rebuild_cache: Assertion keyblock->pkt->pkttype == PKT_PUBLIC_KEY' failed.
   Avbruten (SIGABRT)
   $ LC_ALL=en gpg --version
   gpg (GnuPG) 1.4.9
   Copyright (C) 2008 Free Software Foundation, Inc.
   License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
   This is free software: you are free to change and redistribute it.
   There is NO WARRANTY, to the extent permitted by law.

   Home: ~/.gnupg
   Supported algorithms:
   Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
   Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
   Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
   Compression: Uncompressed, ZIP, ZLIB, BZIP2

As to how to reproduce it, I don't know. I have no idea what broke my gnupg 
directory.

-- 
\\// Peter - http://www.softwolves.pp.se/





More information about the Pkg-gnupg-maint mailing list