diff options
author | Werner Koch <wk@gnupg.org> | 2018-02-20 11:45:58 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2018-02-20 11:45:58 +0100 |
commit | ee474856ec16ff11d922d8503fb3ede77129c4aa (patch) | |
tree | 4ab8b8fe3d9afdeb882aa8d877a2eecf02e50091 /tools/gpg-wks.h | |
parent | wks: Support alternative submission address. (diff) | |
download | gnupg2-ee474856ec16ff11d922d8503fb3ede77129c4aa.tar.xz gnupg2-ee474856ec16ff11d922d8503fb3ede77129c4aa.zip |
wks: Implement server command --install-key.
* tools/wks-util.c (wks_filter_uid): Add arg 'binary'.
* tools/gpg-wks-server.c (main): Expect 2 args for --install-key.
(write_to_file): New.
(check_and_publish): Factor some code out to ...
(compute_hu_fname): ... new.
(command_install_key): Implement.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tools/gpg-wks.h')
-rw-r--r-- | tools/gpg-wks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpg-wks.h b/tools/gpg-wks.h index 1522b7288..a5a73c575 100644 --- a/tools/gpg-wks.h +++ b/tools/gpg-wks.h @@ -89,7 +89,7 @@ void free_uidinfo_list (uidinfo_list_t list); gpg_error_t wks_list_key (estream_t key, char **r_fpr, uidinfo_list_t *r_mboxes); gpg_error_t wks_filter_uid (estream_t *r_newkey, estream_t key, - const char *uid); + const char *uid, int binary); gpg_error_t wks_send_mime (mime_maker_t mime); gpg_error_t wks_parse_policy (policy_flags_t flags, estream_t stream, int ignore_unknown); |