63f5c03e42
The `prompt_for_password()` function allows to asks for password input twice and only returns `Some(Password)` if inputs match and are not empty. If both inputs are empty, returns `None`. The function takes a prompt string to provide to the user and an optional prompt string for the repetition prompt. Signed-off-by: David Runge <dave@sleepmap.de> |
||
---|---|---|
.ci | ||
src | ||
subplot | ||
tests | ||
.gitattributes | ||
.gitignore | ||
.gitlab-ci.yml | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
deny.toml | ||
Dockerfile | ||
LICENSE.txt | ||
NEWS | ||
README.md | ||
sq-subplot.md | ||
sq.subplot |
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