From b7b37716b9d2cd1b71b5f7f0e4fb2c1a43eee90a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 15 Jul 2016 17:20:43 +0200 Subject: 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 --- tools/gpg-wks-client.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/gpg-wks-client.c') 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)) -- cgit v1.2.3