wks: Implement server command --install-key.
authorWerner Koch <wk@gnupg.org>
Tue, 20 Feb 2018 10:45:58 +0000 (11:45 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 20 Feb 2018 10:45:58 +0000 (11:45 +0100)
commitee474856ec16ff11d922d8503fb3ede77129c4aa
tree4ab8b8fe3d9afdeb882aa8d877a2eecf02e50091
parent1877603761911ea5b1c15f4aef11a2cf86a8682c
wks: Implement server command --install-key.

* tools/wks-util.c (wks_filter_uid): Add arg 'binary'.
* tools/gpg-wks-server.c (main): Expect 2 args for --install-key.
(write_to_file): New.
(check_and_publish): Factor some code out to ...
(compute_hu_fname): ... new.
(command_install_key): Implement.

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/wks.texi
tools/gpg-wks-client.c
tools/gpg-wks-server.c
tools/gpg-wks.h
tools/wks-util.c