wks: New server command --list-domains
authorWerner Koch <wk@gnupg.org>
Wed, 13 Jul 2016 09:44:48 +0000 (11:44 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 13 Jul 2016 09:44:48 +0000 (11:44 +0200)
commit44ecc33b4a7147d9c112a72f55a42b65cef4fe67
tree0e0ae654c453ee528955b1a8fdb1bb46c9fffe33
parent7be218177701af316db75057c99ca674d53cf585
wks: New server command --list-domains

* tools/gpg-wks-server.c (aListDomains): New.
(opts): Add --list-domains.
(parse_arguments): Implement.
(main): Ditto.  Use only one final diagnostic message.
(command_list_domains): New.
(check_and_publish): Remove directory creation.
(get_domain_list): New.
(expire_pending_confirmations): Rewrite using a list of directories.
(command_cron): Get domain list and pass to
expire_pending_confirmations.
--

  gpg-wks-server --list-domains

is required once to create the sub directories
tools/gpg-wks-server.c