List-packets help

John Gill john.gill at
Fri Apr 6 16:32:31 CEST 2012

Thank you all for your answers.  I've been reading 2440, 4880, and trying
to read the source to several old and current versions of gnupg 1.x series
for some time.  My question was an attempt to verify my understanding of
how the specific output was structured.  There was sample pgpdump output
posted online that confirmed my assumptions and understanding about the
output from list-packets.

I am feeding the output of a list-packets for my keying into an awk script
to build a report on the keys and the preferences for each key.
With-colons doesn't provide enough detail for this report.  I vaguely
remember reading several years back that the output from list packets was
subject to change between revisions.  I'll have to include that risk in any
future maintenance of the report.

Of course, if there is a better way to extract all the preferences data,
using just the gpg program, please let me know.

Thank you,
John Gill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20120406/7aeba103/attachment.htm>

More information about the Gnupg-users mailing list