list packets output & other misc

shmick at riseup.net shmick at riseup.net
Fri Jun 6 12:55:21 CEST 2014


hey pete,

Pete Stephenson:
> 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.

cheers

couldn't resist ;-)

> 
> 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