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.
(cherry picked from commit e3a1e80d13487c9336640a99b2f6d385d7d6f55c)
- Signed-off-by: Werner Koch <wk@gnupg.org>