diff options
author | Werner Koch <wk@gnupg.org> | 2015-02-25 16:34:19 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2015-02-25 16:34:19 +0100 |
commit | 2fc27c8696f5cf2ddf3212397ea49bff115d617b (patch) | |
tree | 33ab4c13994e0201999a1793fd529965da32ab36 /common/Makefile.am | |
parent | common: Allow requesting a specific certtype with get_dns_cert() (diff) | |
download | gnupg2-2fc27c8696f5cf2ddf3212397ea49bff115d617b.tar.xz gnupg2-2fc27c8696f5cf2ddf3212397ea49bff115d617b.zip |
gpg: Switch to a hash and CERT record based PKA system.
* common/dns-cert.c (get_dns_cert): Make r_key optional.
* common/pka.c: Rewrite for the new hash based lookup.
* common/t-pka.c: New.
* configure.ac: Remove option --disable-dns-pka.
(USE_DNS_PKA): Remove ac_define.
* g10/getkey.c (parse_auto_key_locate): Always include PKA.
--
Note that although PKA is now always build, it will only work if
support for looking up via DNS has not been disabled.
The new PKA only works with the IPGP DNS certtype and shall be used
only to retrieve the fingerprint and optional the key for the first
time. Due to the security problems with DNSSEC the former assumption
to validate the key using DNSSEC is not anymore justified. Instead an
additional layer (e.g. Trust-On-First-Use) needs to be implemented to
track change to the key. Having a solid way of getting a key matching
a mail address is however a must have.
More work needs to go into a redefinition of the --verify-options
pka-lookups and pka-trust-increase. The auto-key-locate mechanism
should also be able to continue key fetching with another methods once
the fingerprint has been retrieved with PKA.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'common/Makefile.am')
-rw-r--r-- | common/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Makefile.am b/common/Makefile.am index df2dafe46..2ba6dc007 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -178,7 +178,7 @@ jnlib_tests += t-w32-reg endif module_tests = t-convert t-percent t-gettime t-sysutils t-sexputil \ t-session-env t-openpgp-oid t-ssh-utils t-dns-cert \ - t-mapstrings t-zb32 t-mbox-util + t-pka t-mapstrings t-zb32 t-mbox-util if !HAVE_W32CE_SYSTEM module_tests += t-exechelp endif @@ -222,6 +222,7 @@ t_session_env_LDADD = $(t_common_ldadd) t_openpgp_oid_LDADD = $(t_common_ldadd) t_ssh_utils_LDADD = $(t_common_ldadd) t_dns_cert_LDADD = $(t_common_ldadd) $(DNSLIBS) +t_pka_LDADD = $(t_common_ldadd) $(DNSLIBS) t_mapstrings_LDADD = $(t_common_ldadd) t_zb32_LDADD = $(t_common_ldadd) t_mbox_util_LDADD = $(t_common_ldadd) |