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

Robert J. Hansen rjh at sixdemonbag.org
Sat Jan 15 18:40:57 CET 2011


(Responding to David, but this is really meant for the OP)

On 1/15/2011 12:27 PM, David Shaw wrote:
> I note that you are trying to parse the output, though.  That is a
> bad idea, as the format is intended for human consumption, and not
> machine parsing.  The machine format is stable, and the human format
> is subject to change.  Use the --with-colons option to enable machine
> parsing.

Some time ago I wrote up a BNF for the machine-readable format, and
posted it to gnupg-devel.  You might want to search the archives for it:
you might find it useful.



More information about the Gnupg-users mailing list