diff options
author | Werner Koch <wk@gnupg.org> | 2019-03-22 11:40:01 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2019-03-22 11:42:55 +0100 |
commit | e847cf1df7aa55ac2af7efd39ca05882258acbfe (patch) | |
tree | 778497f2d45ded510a8dd8cc86d1c7e03fad8636 /doc/wks.texi | |
parent | scd: Refactor the app selection code. (diff) | |
download | gnupg2-e847cf1df7aa55ac2af7efd39ca05882258acbfe.tar.xz gnupg2-e847cf1df7aa55ac2af7efd39ca05882258acbfe.zip |
wkd: New command --print-wkd-hash for gpg-wks-client.
* tools/gpg-wks-client.c (aPrintWKDHash): New.
(opts) : Add "--print-wkd-hash".
(main): Implement that command.
(proc_userid_from_stdin): New.
* tools/wks-util.c (wks_fname_from_userid): Add option HASH_ONLY.
(wks_cmd_print_wkd_hash): New.
--
GnuPG-bug-id: 4418
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'doc/wks.texi')
-rw-r--r-- | doc/wks.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/wks.texi b/doc/wks.texi index f132b3186..0ebd3db3f 100644 --- a/doc/wks.texi +++ b/doc/wks.texi @@ -101,6 +101,10 @@ fingerprint and the mailbox separated by a space. The command @option{--remove-key} removes a key from that directory, its only argument is a user-id. +The command @option{--print-wkd-hash} prints a WKD user id identifier +and the corresponding mailbox from the user-ids given on the command +line or via stdin (one user-id per line). + @command{gpg-wks-client} is not commonly invoked directly and thus it is not installed in the bin directory. Here is an example how it can be invoked manually to check for a Web Key Directory entry for |