What does the "sub" entry of a key mean?

Bo Berglund bo.berglund at gmail.com
Sun Jan 16 00:08:50 CET 2011

On Sat, 15 Jan 2011 15:21:01 -0500, Jameson Rollins
<jrollins at finestructure.net> wrote:

>On Sat, 15 Jan 2011 19:17:27 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:
>> THanks, indeed the --with-colons gave a completely different output...
>> I was just about to ask of the date format (if it changes between
>> operating systems or such) but now I have a different problem in
>> understanding the machine readable format.
>> Very hard to understand. Is there a parsing guide somewhere?
>Hi, Bo.  There should be a file called DETAILS (in doc/DETAILS in the
>gnupg source, or maybe included with your local installation) that
>describes in detail the meaning of the --with-colons output.  It's
>exactly the reference you're looking for when writing a program to parse
>the --with-colons output.
>Good luck!
>$ head gnupg2-2.0.14/doc/DETAILS
>                                                              -*- text -*-
>Format of colon listings
>First an example:
>$ gpg --fixed-list-mode --with-colons --list-keys \
>   --with-fingerprint --with-fingerprint wk at gnupg.org

downloaded the GPG sources and located the DETAILS file.
Now have to read the document, but it seems doable at least...

Bo Berglund
Developer in Sweden

More information about the Gnupg-users mailing list