aboutsummaryrefslogtreecommitdiffstats
path: root/util/pka.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-02-26Switch to a hash and CERT record based PKA system.Werner Koch1-204/+201
* 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 <[email protected]> This is a backport from master. (backported from commit 2fc27c8696f5cf2ddf3212397ea49bff115d617b)
2011-08-09Removed some set but unused vars.Werner Koch1-3/+1
2011-08-09Fix bug#1307Werner Koch1-14/+18
This is a backport of the fixes for 2.0. There is only one real bug, the other changes are for clarity and for more picky compilers.
2010-09-28Minor changes to help the VMS portWerner Koch1-9/+16
2007-10-23Switched to GPLv3.Werner Koch1-4/+2
Updated gettext.
2007-04-15* argparse.c (default_strusage): Copyright 2007.David Shaw1-1/+2
* cert.c, srv.c, pka.c: Need arpa/inet.h for ntohs().
2005-07-28Implemented PKA trust modelWerner Koch1-2/+2
2005-07-28Implemented PKA trust modelWerner Koch1-0/+254