Primary uid not honored in 1.4.9

David Shaw dshaw at
Thu Jun 11 14:55:50 CEST 2009

On Jun 11, 2009, at 3:57 AM, Todd A. Jacobs wrote:

> I've attempted (several times, in fact) to create a key pair with  
> three
> UIDs: one primary and two others. Whether using Seahorse or the  
> command
> line, I will manually set one of the UIDs as primary.
> This *appears* to work locally, but if I export the keypair and then
> import it into another gnupg keyring on a different box (still running
> 1.4.9, though) the primary UID defaults to whichever UID was created
> last rather than the one selected as primary.
> While I know that different implementations of PGP aren't required to
> honor the primary UID, shouldn't gnupg honor its own? Why isn't the
> primary UID being exported, and what can I do about it?

I suspect that the primary UID is not actually being set somehow.  Can  
you reply with "before" and "after" examples of a key (you can just  
make a dummy key for this if you like) when you try and set the  
primary UID?

   gpg --export (thekey) | gpg --list-packets
for both.  You're looking for a subpacket marked "Primary user ID".


More information about the Gnupg-users mailing list