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

Bo Berglund bo.berglund at gmail.com
Sat Jan 15 21:40:00 CET 2011


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

/Bo B

-----Original Message-----
From: Jameson Rollins [mailto:jrollins at finestructure.net] 
Sent: den 15 januari 2011 21:21
To: bo.berglund at gmail.com; gnupg-users at gnupg.org
Subject: Re: What does the "sub" entry of a key mean?

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




More information about the Gnupg-users mailing list