gpg: Add command --print-pka-records.
authorWerner Koch <wk@gnupg.org>
Tue, 24 Feb 2015 18:31:59 +0000 (19:31 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 24 Feb 2015 18:31:59 +0000 (19:31 +0100)
commite2d93402801a2cb822c723e891fd98233fdb3fd5
tree4e22030025ce7239e11118a863f70ccbd03ac9ab
parent93fa3d5c1760f3fee5412fb29d58fbd60db16ea9
gpg: Add command --print-pka-records.

* g10/gpg.c (main): Add command --print-pka-records.
* g10/options.h (struct opt): Add field "print_pka_records".
* g10/keylist.c (list_keyblock_pka): New.
(list_keyblock): Call it if new option is set.
(print_fingerprint): Add mode 10.
--

This is a fist step towards a slightly updated PKA implementation.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/gpg.c
g10/keylist.c
g10/options.h