1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Werner Koch 87de9e19ed
gpg: Add experimental AKL method "wkd" and option --with-wkd-hash.
* g10/getkey.c (parse_auto_key_locate): Add method "wkd".
(get_pubkey_byname): Implement that method.  Also rename a variable.
* g10/call-dirmngr.c (gpg_dirmngr_wkd_get): New.
* g10/keyserver.c (keyserver_import_wkd): New.
* g10/test-stubs.c (keyserver_import_wkd): Add stub.
* g10/gpgv.c (keyserver_import_wkd): Ditto.
* g10/options.h (opt):  Add field 'with_wkd_hash'.
(AKL_WKD): New.

* g10/gpg.c (oWithWKDHash): New.
(opts): Add option --with-wkd-hash.
(main): Set that option.
* g10/keylist.c (list_keyblock_print): Implement that option.
--

The Web Key Directory is an experimental feature to retrieve a key via
https.  It is similar to OpenPGP DANE but also uses an encryption to
reveal less information about a key lookup.

For example the URI to lookup the key for Joe.Doe@Example.ORG is:

    https://example.org/.well-known/openpgpkey/
    hu/example.org/iy9q119eutrkn8s1mk4r39qejnbu3n5q

(line has been wrapped for rendering purposes).  The hash is a
z-Base-32 encoded SHA-1 hash of the mail address' local-part.  The
address wk@gnupg.org can be used for testing.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-04-27 08:34:29 +02:00
..
2016-02-14 14:46:30 +01:00
2014-10-31 14:21:34 +01:00
2015-08-06 17:00:41 +09:00
2016-03-02 20:36:19 +01:00
2007-07-04 19:49:40 +00:00
2014-11-13 12:01:42 +01:00
2015-05-01 13:58:18 +09:00
2015-02-04 09:15:34 +01:00
2015-02-04 09:15:34 +01:00
2016-01-19 16:25:31 +01:00
2015-10-05 19:48:47 +02:00
2016-01-22 10:54:10 +01:00
2016-04-07 13:51:26 +02:00
2016-01-18 12:15:09 +01:00
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2008-12-12 08:54:50 +00:00
2016-01-18 11:20:15 +01:00
2015-12-22 15:03:56 +01:00
2015-11-17 12:50:22 +01:00
2016-03-08 14:08:49 +01:00
2016-01-06 08:49:45 +01:00
2015-11-19 15:48:01 +01:00
2014-01-29 17:45:05 +01:00