diff options
author | juga <juga@sequoia-pgp.org> | 2019-05-24 11:41:32 +0000 |
---|---|---|
committer | juga <juga@sequoia-pgp.org> | 2019-05-28 11:29:02 +0000 |
commit | 941502b44228d921e2c4383dc58b44aa2dd431fe (patch) | |
tree | b2cef356439adb6c6956140ecaa1c21407dd861e /tool/src/sq-usage.rs | |
parent | 32795158e702c70d000b0f48d221950050bd5c2a (diff) |
tool: Add wkd command and get, url subcommands
- Using the wkd client implemented in the wkd module.
- Fixes #251.
Diffstat (limited to 'tool/src/sq-usage.rs')
-rw-r--r-- | tool/src/sq-usage.rs | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tool/src/sq-usage.rs b/tool/src/sq-usage.rs index f3159937..9902d0a0 100644 --- a/tool/src/sq-usage.rs +++ b/tool/src/sq-usage.rs @@ -34,6 +34,7 @@ //! key Manipulates keys //! list Lists key stores and known keys //! packet OpenPGP Packet manipulation +//! wkd Interacts with Web Key Directories //! ``` //! //! ## Subcommand decrypt @@ -625,5 +626,49 @@ //! ARGS: //! <FILE> Sets the input file to use //! ``` +//! ## Subcommand wkd +//! ```text +//! Interacts with Web Key Directories +//! +//! USAGE: +//! sq wkd [SUBCOMMAND] +//! +//! FLAGS: +//! -h, --help Prints help information +//! -V, --version Prints version information +//! +//! SUBCOMMANDS: +//! get Writes to the standard output the Transferable Public Key retrieved from a Web Key Directory, given an email address +//! help Prints this message or the help of the given subcommand(s) +//! url Prints the Web Key Directory URI of an email address. +//! ``` +//! ### Subcommand wkd url +//! ```text +//! Prints the Web Key Directory URI of an email address +//! +//! USAGE: +//! sq wkd url [EMAIL_ADDRESS] +//! +//! FLAGS: +//! -h, --help Prints help information +//! -V, --version Prints version information +//! +//! ARGS: +//! <EMAIL_ADDRESS> The email address from which to obtain the WKD URI. +//! ``` +//! ### Subcommand wkd get +//! ```text +//! +//! Writes to the standard output the Transferable Public Key retrieved from a Web Key Directory, given an email address +//! USAGE: +//! sq wkd get [EMAIL_ADDRESS] +//! +//! FLAGS: +//! -h, --help Prints help information +//! -V, --version Prints version information +//! +//! ARGS: +//! <EMAIL_ADDRESS> The email address from which to obtain the TPK from a WKD. +//! ``` include!("sq.rs"); |