diff options
author | Neal H. Walfield <neal@pep.foundation> | 2018-06-25 09:38:09 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2018-06-25 09:38:09 +0200 |
commit | c0e4617c1a7080f11b4407dce942a3bc730291b3 (patch) | |
tree | b223d77e01717353c1c738fd81a0b960a38cf33d /tool/src/sq-usage.rs | |
parent | cd982a0d8773f163bc12a96b8d07e741e2f805a8 (diff) |
openpgp: Add support for parsing Autocrypt headers.
- Also implement 'sq autocrypt decode' to convert an autocrypt
header to an OpenPGP key.
Diffstat (limited to 'tool/src/sq-usage.rs')
-rw-r--r-- | tool/src/sq-usage.rs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tool/src/sq-usage.rs b/tool/src/sq-usage.rs index f6e4220d..37a0c7cd 100644 --- a/tool/src/sq-usage.rs +++ b/tool/src/sq-usage.rs @@ -18,6 +18,7 @@ //! -s, --store <STORE> Sets the store to use (default: 'default') //! //! SUBCOMMANDS: +//! autocrypt Autocrypt support //! dearmor Removes ASCII Armor from a file //! decrypt Decrypts an OpenPGP message //! dump Lists OpenPGP packets @@ -30,6 +31,40 @@ //! store Interacts with key stores //! ``` //! +//! ## Subcommand autocrypt +//! +//! ```text +//! Autocrypt support +//! +//! USAGE: +//! sq autocrypt [SUBCOMMAND] +//! +//! FLAGS: +//! -h, --help Prints help information +//! -V, --version Prints version information +//! +//! SUBCOMMANDS: +//! decode Converts Autocrypt-encoded keys to OpenPGP TPKs +//! help Prints this message or the help of the given subcommand(s) +//! ``` +//! +//! ### Subcommand autocrypt decode +//! +//! ```text +//! Converts Autocrypt-encoded keys to OpenPGP TPKs +//! +//! USAGE: +//! sq autocrypt decode [OPTIONS] +//! +//! FLAGS: +//! -h, --help Prints help information +//! -V, --version Prints version information +//! +//! OPTIONS: +//! -i, --input <FILE> Sets the input file to use +//! -o, --output <FILE> Sets the output file to use +//! ``` +//! //! ## Subcommand dearmor //! //! ```text |