wks: New option --with-colons for gpg-wks-client.
authorWerner Koch <wk@gnupg.org>
Mon, 5 Nov 2018 19:58:27 +0000 (20:58 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 5 Nov 2018 19:58:27 +0000 (20:58 +0100)
commite3a1e80d13487c9336640a99b2f6d385d7d6f55c
tree0daf7a92c55a39672f417b80812c674517c006e5
parentd7323bb2d957fbeb8192c0ecbd99b1d14d302912
wks: New option --with-colons for gpg-wks-client.

* tools/gpg-wks.h (opt): Add field with_colons.
* tools/gpg-wks-client.c (oWithColons): New const.
(opts, parse_arguments): Add option --with-colons.
(main): Change aSupported to take several domains in --with-colons
mode.
(command_send): Factor policy getting code out to ...
(get_policy_and_sa): New function.
(command_supported): Make use of new function.
--

In addition to this the --create command now also supports a
submission address only in the policy file.  That means the
submission-address file is not anymore required and can be replaced by
the policy file.

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