wks: Add new commands --install-key and --remove-key to the client.
authorWerner Koch <wk@gnupg.org>
Tue, 4 Dec 2018 09:31:42 +0000 (10:31 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 4 Dec 2018 14:31:41 +0000 (15:31 +0100)
commit602b1909632925d5a2e0778c102d66109795c627
treeec5b8247cce666b66af94951daae324db5320719
parent99094c992c20dd22971beb3527cfda109cd1df89
wks: Add new commands --install-key and --remove-key to the client.

* tools/gpg-wks-client.c (aInstallKey, aRemoveKey, oDirectory): New.
(opts): Add "--install-key", "--remove-key" and "-C".
(parse_arguments): Parse them.
(main): Check that the given directory exists.  Implement the new
commands.
--

These commands maybe useful to prepare a WKD directory on a non-Unix
box using the standard wks client.

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