bug with one key's private keys spread over several keyrings when signing keys

Hagen Fürstenau hagen at zhuliguan.net
Thu Jun 3 16:16:35 CEST 2010

> Considering the circumstances it really looks like a bug. Spreading keys works 
> for encryption and the usage of a smartcard is a similar situation: main key 
> here, subkeys there.

It works because these are different keys, so the right one is found at
some point. In your case, however, there are two versions of your
primary key: the real one and a broken one (deliberately replaced by
dummy data). If the broken one is found first, it leads to the error you

You could argue that gpg should keep searching for a non-dummy primary
key. Absent such a feature, the obvious workaround is to order your
keyrings in such a way that the real primary key is found first.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20100603/d0ff9f04/attachment.pgp>

More information about the Gnupg-devel mailing list