Go to file
David Runge 63f5c03e42
Add common method prompt_for_password() to create robust prompts
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>
2023-10-19 09:25:05 +02:00
.ci ci: Fix all-commits job. 2023-03-13 15:49:57 +01:00
src Add common method prompt_for_password() to create robust prompts 2023-10-19 09:25:05 +02:00
subplot Reincarnation commit. 2023-02-21 12:43:43 +01:00
tests Consolidate sq revoke commands as sq key subcommands 2023-07-03 16:04:51 +02:00
.gitattributes Add git configuration. 2023-02-23 11:22:01 +01:00
.gitignore Add git configuration. 2023-02-23 11:22:01 +01:00
.gitlab-ci.yml Fix publishing of container image to registry 2023-07-04 11:07:22 +02:00
build.rs Add instructions on man page creation to README 2023-06-12 16:14:50 +02:00
Cargo.lock Release 0.31.0. 2023-07-05 14:07:56 +02:00
Cargo.toml Release 0.31.0. 2023-07-05 14:07:56 +02:00
deny.toml ci: Allow fehler 2023-10-17 14:52:16 +02:00
Dockerfile Build and push Docker image to Gitlab's registry. 2023-03-13 12:54:00 +01:00
LICENSE.txt Reincarnation commit. 2023-02-21 12:43:43 +01:00
NEWS Add NEWS entries for 0.31.0. 2023-07-03 16:35:16 +02:00
README.md Add instructions on man page creation to README 2023-06-12 16:14:50 +02:00
sq-subplot.md Rename --export option of sq key generate to the generic --output 2023-06-17 15:51:25 +02:00
sq.subplot Update to the latest version of subplot 2023-03-17 10:07:17 +01:00

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