On Sat, 15 Jan 2011 15:21:01 -0500, Jameson Rollins <jroll...@finestructure.net> wrote:
>On Sat, 15 Jan 2011 19:17:27 +0100, Bo Berglund <bo.bergl...@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 w...@gnupg.org > >pub:f:1024:17:6C7EE1B8621CC013:899817715:1055898235::m:::scESC: >fpr:::::::::ECAF7590EB3443B5C7CF3ACB6C7EE1B8621CC013: >$ Thanks, 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 _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users