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

Jameson Rollins jrollins at finestructure.net
Sat Jan 15 21:21:01 CET 2011


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!

jamie.


$ 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

pub:f:1024:17:6C7EE1B8621CC013:899817715:1055898235::m:::scESC:
fpr:::::::::ECAF7590EB3443B5C7CF3ACB6C7EE1B8621CC013:
$ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: </pipermail/attachments/20110115/11c36af5/attachment.pgp>


More information about the Gnupg-users mailing list