wks: New server options --check, --with-dir, with-file.
authorWerner Koch <wk@gnupg.org>
Tue, 19 Dec 2017 16:42:10 +0000 (17:42 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 19 Dec 2017 16:42:10 +0000 (17:42 +0100)
commit7449063b1af2eef73d621a69cdb2fb713ab1ae6c
treeb42163153b726062bdb4ed6769bceaa46188fca1
parentfaecaf80f0b5f0dd50d4ff20a8ba3bd6a592fe1f
wks: New server options --check, --with-dir, with-file.

* tools/gpg-wks-server.c (aCheck, oWithDir, oWithFile): New const.
(opts): New options --check, --with-dir, and --with-file.
(main): Call command_check_key.
(command_list_domains): Implement option --with-dir.
(fname_from_userid): New.
(command_check_key): New.
(command_remove_key): Implement existsing command.
(command_revoke_key): Call command_remove_key as a simple
implementation.

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