UID management

David Shaw dshaw at jabberwocky.com
Mon Nov 12 01:30:24 CET 2007


On Mon, Nov 12, 2007 at 12:29:30AM +0100, Philipp Gühring wrote:
> Hi David,
> 
> > The ordering does not matter.  GPG supports selecting a user ID by hash:
> 
> Thanks a lot!  That looked like a good solution.
> 
> Unfortuntely, it doesn´t work for the UID that is attached to the public key:
> 
> pub:u:1024:17:A591FD39DD2C60F4:2007-09-29:::u:test<test at example.org>::scESC:
> uid:u::::2007-09-29::5F6CE18A5E1C698C9F6AED4BD3D9AABC6948BC1F::test<test at example.com>:
> 
> Then I get this list:
> [ultimate] (1). test<test at example.org>
> [ultimate] (2)  test<test at example.com>
> 
> And I can happily select and deselect the UID 2:
> 
> uid 5F6CE18A5E1C698C9F6AED4BD3D9AABC6948BC1F
> 
> pub  1024D/DD2C60F4  created: 2007-09-29  expires: niemals     usage: CS
>                      trust: uneingeschränkt Gültigkeit: uneingeschränkt
> sub  2048g/4DD86652  created: 2007-09-29  expires: niemals     usage: E
> [ultimate] (1). test<test at example.org>
> [ultimate] (2)* test<test at example.com>
> 
> But I can´t select the first one:
> 
> uid A591FD39DD2C60F4

That's not a uid hash.  That's your key id (look at the last 8
characters).  When you list keys, always use --fixed-list-mode.

David



More information about the Gnupg-users mailing list