more information desired in --edit-key list output

David Shaw dshaw at jabberwocky.com
Wed Jul 2 23:53:58 CEST 2008


On Wed, Jul 02, 2008 at 02:36:45PM -0700, Adam M. wrote:
> The --with-colons --edit-key list output:
>
> (something like this)
>
> pub:u:1024:1:265CC806C45BF178:1214983729:0::u:
> fpr:::::::::C4B7E17BBFFDD6792E8CAEEA265CC806C45BF178:
> uid:u::::::::John! <a at b.c>:::S9 S8 S7 S3 S2 H2 H8 H3 Z2 Z3  
> Z1,mdc,no-ks-modify:1,ps:
> uid:u::::::::John! <a at b.c>:::S9 S8 S7 S3 S2 H2 H8 H3 Z2 Z3  
> Z1,mdc,no-ks-modify:2,:
> uat:u::::::::1 7332:::S9 S8 S7 S3 S2 H2 H8 H3 Z2 Z3 Z1,mdc,no-ks-modify:3,:
> uat:u::::::::1 7332:::S9 S8 S7 S3 S2 H2 H8 H3 Z2 Z3 Z1,mdc,no-ks-modify:4,:
>
> doesn't provide enough information to positively correlate the uid and  
> uat records from --list-keys with the ones displayed in --edit-key.
>
> In the --list-keys output, the user IDs and attributes can be easily  
> distinguished. They all have different creation times, and the user  
> attributes have different hash values too. But in the --edit-key menu,  
> the user IDs and user attributes look identical, so there's no way to  
> really tell which record I'm editing.

You don't need to do the correlation yourself: when selecting the uid
you want to operate on in the --edit-key menu, send "uid HASH" (using
the hash from --list-keys) instead of "uid NUMBER" to select the exact
uid or uat you are interested in.

David



More information about the Gnupg-devel mailing list