upgrading from 1.x to 2.x

Torsten Curdt tcurdt at vafer.org
Mon Apr 21 23:55:29 CEST 2008

I have just "migrated" from 1.x to 2. (just installed 2.x instead of  
1.x) and while I can still sign files with

$ gpg2 --armor --output test.asc --detach-sig test

refreshing the keys fails.

$ gpg2 --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

And even importing a file that (at least) looks perfectly OK gives me

$ gpg2 --import msg.asc
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

This is GnuPG 2.0.8 on OSX 10.5.2 installed via MacPorts

Any hints?


More information about the Gnupg-users mailing list