This commit is mostly a copy over from the keyring-linter repository, with a few changes included to make it work in the sq codebase. These changes are: - replaced calls to atty with calls to is-terminal. This was done due to is-terminal already being in the dependency tree of sq, and atty being unmaintained. - replace ansi_term with termcolor, because ansi_term is unmaintained - removed a few things from the keyring linter, that were also present in sq itself, to avoid duplication. This included the reference time parameter, key decryption and IO handling - added output file and binary parameters to the linter, so that I could handle output the same as the other commands do
sq, the Sequoia-PGP command line tool
Sequoia-PGP is an implementation of OpenPGP in Rust. It includes a
suite of library crates, which are meant to be used from applications.
This crate provides the sq
command line application. sq
is aimed
at command line users as a way to use OpenPGP conveniently from the
command line.
See the sq user guide for instructions. The program also has built-in
help, using the --help
option and help
subcommand:
$ sq help
...
These are collected as the sq help page, for your convenience.
Building
This crate can be built using the standard cargo
toolchain:
cargo build
The above creates the sq
executable and its shell completions.
To create the man pages for sq
in a directory (here manpages/
) use the
built executable:
SQ_MAN=manpages cargo run
Description
Languages
Rust
99.5%
Lua
0.3%
Dockerfile
0.1%