list packets output & other misc

Pete Stephenson pete at heypete.com
Thu Jun 5 12:06:10 CEST 2014


On 6/5/2014 10:44 AM, Werner Koch wrote:
> On Wed,  4 Jun 2014 23:15, shmick at riseup.net said:
> 
>> how can i mandatorily specify using other subkeys for the same primary
>> key for 's' or 'e' either on command line or in an email client for
>> example ?
> 
>   fortune | gpg -ea -r '12345678!'
> 
> assuming 12345678 is the subkeys' keyid.  Same for -u.

To clarify, it's the exclamation point ("!") that forces GPG to use a
specific key. Normally GPG will pick what it thinks is the appropriate
key, but the exclamation point will override that automatic choice and
use only the key ID specified by the user.

I'm not aware of any email clients that allow such an override -- it's
typically only used in the command line.

<https://www.gnupg.org/documentation/manuals/gnupg-devel/Specify-a-User-ID.html>
has some more details.

>> is there a reference for the numerical values of version, hash, cipher,
>> algo, sk2, etc ?
> 
> --list-packets is a debugging aid and thus you need to look at the
> source or doc/DETAILS for some of these values.  However, most of these
> numbers are specified in RFC-4880.

Specifically, that information is available at
<http://tools.ietf.org/html/rfc4880#page-62>, in sections 9.1 through
9.4, inclusive.

Cheers!
-Pete




More information about the Gnupg-users mailing list