"an mpi of size 0 is not allowed" in 2.0.9

Robert Burrell Donkin robertburrelldonkin at blueyonder.co.uk
Sun Apr 20 11:58:54 CEST 2008


hi

i've been happily using GnuPG for many years now and have had nothing
but good things to say about it. kudos to everyone who developed it. 

now that gentoo has upgraded to 2.0.x, i'm having some problems with my
existing key rings. for example

 $ gpg --refresh-keys
 an mpi of size 0 is not allowed
 gpg: keyring_get_keyblock: read error: Invalid packet
 gpg: error reading keyblock: Invalid keyring
 gpg: keyserver refresh failed: Invalid keyring

this still happens with the latest version supported by gentoo:

 $ gpg --version
 gpg (GnuPG) 2.0.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, ELG, DSA
 Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
 Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
 Compression: Uncompressed, ZIP, ZLIB
 Used libraries: gcrypt(1.4.0)

the keyring is complex (main secret key removed, email signing subkey
retained) but 1.4.x coped fine with it

- robert

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: </pipermail/attachments/20080420/8b05e667/attachment.pgp>


More information about the Gnupg-devel mailing list