David Runge 0e0df4168a
Allow adding metadata when encrypting files.
- Add the optional `--set-metadata-filename` option for `sq encrypt`,
  which when provided, adds the filename of the file as metadata to the
  literal data packet.
- Add the optional `--set-metadata-time` option for `sq encrypt`,
  which when provided, adds a time as metadata to the literal
  data packet.
  The value can either be provided as ISO 8601 formatted string or by
  using one of the keywords ("none", "filecreation", "filemodification",
  or "packetcreation").

Fixes https://gitlab.com/sequoia-pgp/sequoia-sq/-/issues/135

Signed-off-by: David Runge <dave@sleepmap.de>
2023-10-23 11:39:19 +02:00
2023-03-13 15:49:57 +01:00
2023-02-21 12:43:43 +01:00
2023-02-23 11:22:01 +01:00
2023-02-23 11:22:01 +01:00
2023-07-05 14:07:56 +02:00
2023-07-05 14:07:56 +02:00
2023-10-17 14:52:16 +02:00
2023-02-21 12:43:43 +01:00
2023-07-03 16:35:16 +02: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
Description
No description provided
Readme 47 MiB
Languages
Rust 99.5%
Lua 0.3%
Dockerfile 0.1%