key sig notation data in --with-colon mode?

David Shaw dshaw at jabberwocky.com
Sat Oct 1 23:14:49 CEST 2005


On Sat, Oct 01, 2005 at 10:54:30PM +0200, Marcus Brinkmann wrote:
> Hi,
> 
> currently, gnupg does not emit any key signature notation data on the
> status fd (while data signature notation data _is_ output at verify).
> 
> In fact, policy URL and notation data handling is suspiciously absent
> from list_keyblock_colon().  Are there any plans to fill that gap?

It is in there.  A while back there was a good bit of discussion
around the problem of subpackets, including notations and policy URL.
There was also some concern about future expansion and the need for
adding new flags each time OpenPGP added a new packet type.  It ended
up as a single generic way to list any subpacket type.  This lists all
possible subpackets:

gpg --with-colons --list-options show-sig-subpackets --list-sigs

This lists notations:

gpg --with-colons --list-options show-sig-subpackets=20 --list-sigs

This lists policy URLs:

gpg --with-colons --list-options show-sig-subpackets=26 --list-sigs

This lists both notations and policy URLs:

gpg --with-colons --list-options show-sig-subpackets=\"20,26\" --list-sigs

The format of the "spk" record is documented in doc/DETAILS.

David



More information about the Gnupg-devel mailing list