1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-08 23:37:47 +02:00
gnupg/util
Werner Koch 52c6c30647
Switch to a hash and CERT record based PKA system.
* util/pka.c: Rewrite.
(get_pka_info): Add arg fprbuflen.  Change callers to pass this.
* util/strgutil.c (ascii_strlwr): 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 method once
the fingerprint has been retrieved with PKA.

Signed-off-by: Werner Koch <wk@gnupg.org>

This is a backport from master.
(backported from commit 2fc27c8696)
2015-02-26 18:30:08 +01:00
..
argparse.c Release 1.4.17 2014-06-23 17:15:09 +02:00
assuan-buffer.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-client.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-connect.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-defs.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-errors.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-logging.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-socket-connect.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-socket.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-util.c Comment typ fixes. 2007-12-03 14:41:38 +00:00
cert.c Allow requesting only an IPGP certtype with dns_cert(). 2015-02-26 15:17:56 +01:00
ChangeLog-2011 Rename all ChangeLog files to ChangeLog-2011. 2011-12-02 19:42:56 +01:00
compat.c Restructured the compat functions and changed its license. 2009-08-25 20:00:24 +00:00
convert.c First set of changes to backport the new card code from 2.0. 2009-07-21 14:30:13 +00:00
dotlock.c gpg: signal handling fix 2013-07-12 17:26:55 +09:00
errors.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
estream-printf.c Use gcc pragmas to suppress some warnings. 2012-01-10 11:31:00 +01:00
fileutil.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
http.c Part of issue 1447: Pass proper Host header when SRV is used. 2012-12-19 11:43:28 -05:00
iobuf.c avoid future chance of using uninitialized memory 2015-01-13 11:06:43 +09:00
isascii.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
logger.c The rest of the VMS changes. 2010-09-28 15:55:24 +00:00
Makefile.am Modernize to automake 1.14. 2015-01-19 18:59:13 +01:00
membuf.c Fix potential heap corruption in "gpg -v --version" 2012-12-15 11:28:00 +01:00
memory.c First set of changes to backport the new card code from 2.0. 2009-07-21 14:30:13 +00:00
memrchr.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
miscutil.c Allow building with the 32 bit mingw-w64 toolchain. 2012-01-12 18:10:30 +01:00
mkdtemp.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
pka.c Switch to a hash and CERT record based PKA system. 2015-02-26 18:30:08 +01:00
regcomp.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
regex_internal.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
regex_internal.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
regex.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
regexec.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
riscos.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
secmem.c Fix typos spotted during translations 2012-08-24 16:37:44 +02:00
simple-gettext.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
srv.c The rest of the VMS changes. 2010-09-28 15:55:24 +00:00
strgutil.c Switch to a hash and CERT record based PKA system. 2015-02-26 18:30:08 +01:00
strsep.c * strsep.c (strsep): It's strsep, not strsep2 from testing. (If I had 2006-10-03 00:36:18 +00:00
timegm.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
ttyio.c On VMS use --batch by default if in batch mode. 2011-09-12 15:28:28 +02:00
w32reg.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00