mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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>
This commit is contained in:
parent
505ee45106
commit
46362cbc0e
6 changed files with 310 additions and 11 deletions
|
@ -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*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue