wks: Allow reading of --install-key arguments from stdin.
authorWerner Koch <wk@gnupg.org>
Tue, 4 Dec 2018 14:27:19 +0000 (15:27 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 4 Dec 2018 14:31:41 +0000 (15:31 +0100)
commitba46a359b9d6549b74ec8401ea39bad434d87564
tree119f6eecb9dfb04ccef6f355f930234d832e4742
parent0e8bf204791ebfd0c9a8e4b49fbadf998ec62e49
wks: Allow reading of --install-key arguments from stdin.

* tools/wks-util.c (install_key_from_spec_file): New.
(wks_cmd_install_key): Call it.
* tools/gpg-wks-client.c (main): Allow --install-key w/o arguments.
* tools/gpg-wks-server.c (main): Ditto.

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