gpg: Add new --auto-key-locate mechanism "dane".
authorWerner Koch <wk@gnupg.org>
Tue, 6 Oct 2015 18:31:43 +0000 (20:31 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 6 Oct 2015 18:31:43 +0000 (20:31 +0200)
commit9ac31f91b10059474da1c9580fb99e94278d4c11
tree04f6667ad289aa69cb2b0b1e0ef01f3eed398863
parent264a81d82737369ee8beef771cf2bd2cd874320a
gpg: Add new --auto-key-locate mechanism "dane".

* g10/call-dirmngr.c (gpg_dirmngr_dns_cert): Allow fetching via DANE.
* g10/keyserver.c (keyserver_import_cert): Add arg "dane_mode".
* g10/options.h (AKL_DANE): New.
* g10/getkey.c (get_pubkey_byname): Implement AKL_DANE.
(parse_auto_key_locate): Ditto.
--

To test this use

  gpg --auto-key-locate clear,dane,local --locate-key -v wk@gnupg.org

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gpg.texi
g10/call-dirmngr.c
g10/getkey.c
g10/keyserver-internal.h
g10/keyserver.c
g10/options.h