//! A command-line frontend for Sequoia. //! //! # Usage //! //! ```text //! Sequoia is an implementation of OpenPGP. This is a command-line frontend. //! //! USAGE: //! sq [OPTIONS] [SUBCOMMAND] //! //! FLAGS: //! -h, --help Prints help information //! -V, --version Prints version information //! //! OPTIONS: //! -d, --domain Sets the domain to use //! --home Sets the home directory to use //! -p, --policy Sets the network policy to use //! -s, --store Sets the store to use (default: 'default') //! //! SUBCOMMANDS: //! decrypt Decrypts an OpenPGP message //! encrypt Encrypts a message //! sign Signs a message //! verify Verifies a message //! store Interacts with key stores //! keyserver Interacts with keyservers //! autocrypt Autocrypt support //! dearmor Removes ASCII Armor from a file //! dump Lists OpenPGP packets //! enarmor Applies ASCII Armor to a file //! help Prints this message or the help of the given subcommand(s) //! keygen Generate a new key //! list Lists key stores and known keys //! split Splits a message into OpenPGP packets //! ``` //! //! ## Subcommand decrypt //! //! ```text //! Decrypts an OpenPGP message //! //! USAGE: //! sq decrypt [FLAGS] [OPTIONS] [--] [FILE] //! //! FLAGS: //! --dump Print a packet dump to stderr //! -h, --help Prints help information //! -x, --hex Print a hexdump (implies --dump) //! -V, --version Prints version information //! //! OPTIONS: //! -o, --output Sets the output file to use //! --public-key-file ... Public key to verify with, given as a file (can be given multiple times) //! --secret-key-file ... Secret key to decrypt with, given as a file (can be given multiple times) //! -n, --signatures The number of valid signatures required. Default: 0 //! //! ARGS: //! Sets the input file to use //! ``` //! //! ## Subcommand encrypt //! //! ```text //! Encrypts a message //! //! USAGE: //! sq encrypt [FLAGS] [OPTIONS] [--] [FILE] //! //! FLAGS: //! -B, --binary Don't ASCII-armor encode the OpenPGP data //! -h, --help Prints help information //! -s, --symmetric Encrypt with a password (can be given multiple times) //! -V, --version Prints version information //! //! OPTIONS: //! -o, --output Sets the output file to use //! -r, --recipient