On Sat, 15 Jan 2011 19:17:27 +0100, Bo Berglund <[email protected]> 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 [email protected]
pub:f:1024:17:6C7EE1B8621CC013:899817715:1055898235::m:::scESC:
fpr:::::::::ECAF7590EB3443B5C7CF3ACB6C7EE1B8621CC013:
$
pgp9kMTpPnBla.pgp
Description: PGP signature
_______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
