diff options
author | Werner Koch <wk@gnupg.org> | 2016-09-02 16:54:42 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-09-02 16:56:04 +0200 |
commit | 46362cbc0e2260e989820795a6e4245c72335172 (patch) | |
tree | 9e21a8b9bd0e2e2bdebcd388f702d4c20b6c3c47 /tools/call-dirmngr.h | |
parent | dirmngr: Add --policy-flags option to WKD_GET. (diff) | |
download | gnupg2-46362cbc0e2260e989820795a6e4245c72335172.tar.xz gnupg2-46362cbc0e2260e989820795a6e4245c72335172.zip |
wks: Add framework for policy flags.
* tools/call-dirmngr.c (wkd_get_policy_flags): New.
* tools/gpg-wks.h (struct policy_flags_s, policy_flags_t): New.
* tools/wks-util.c (wks_parse_policy): New.
* tools/gpg-wks-client.c (command_send): Get the policy flags to show
a new info line.
* tools/gpg-wks-server.c (get_policy_flags): New.
(process_new_key): get policy flag and add a stub for "auth-submit".
(command_list_domains): Check policy flags.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools/call-dirmngr.h')
-rw-r--r-- | tools/call-dirmngr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/call-dirmngr.h b/tools/call-dirmngr.h index f1bc3686b..6c866e7e6 100644 --- a/tools/call-dirmngr.h +++ b/tools/call-dirmngr.h @@ -23,6 +23,7 @@ void set_dirmngr_options (int verbose, int debug_ipc, int autostart); gpg_error_t wkd_get_submission_address (const char *addrspec, char **r_addrspec); +gpg_error_t wkd_get_policy_flags (const char *addrspec, estream_t *r_buffer); #endif /*GNUPG_TOOLS_CALL_DIRMNGR_H*/ |