diff options
author | Werner Koch <[email protected]> | 2016-07-15 15:20:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-07-15 15:21:25 +0000 |
commit | b7b37716b9d2cd1b71b5f7f0e4fb2c1a43eee90a (patch) | |
tree | 1dab21cd6ea100039d89d0a04e327cd2f2fa3a5a /tools/gpg-wks-client.c | |
parent | gpgscm: Fix linking. (diff) | |
download | gnupg-b7b37716b9d2cd1b71b5f7f0e4fb2c1a43eee90a.tar.gz gnupg-b7b37716b9d2cd1b71b5f7f0e4fb2c1a43eee90a.zip |
wks: Publish as binary file.
* tools/gpg-wks-server.c (copy_key_as_binary): New.
(check_and_publish): Use new function instead of rename.
--
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | tools/gpg-wks-client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gpg-wks-client.c b/tools/gpg-wks-client.c index 2ee23d7cb..2c9cc4fa1 100644 --- a/tools/gpg-wks-client.c +++ b/tools/gpg-wks-client.c @@ -698,7 +698,10 @@ process_confirmation_request (estream_t msg) } address = value; /* FIXME: Check that the "address" matches the User ID we want to - * publish. */ + * publish. Also get the "fingerprint" and compare that to our to + * be published key. Further we should make sure that we actually + * decrypted using that fingerprint (which is a bit problematic if + * --read is used). */ /* Get the sender. */ if (!((item = nvc_lookup (nvc, "sender:")) && (value = nve_value (item)) |