LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

sq

Modern Sequoia OpenPGP command-line tool

TLDR

Generate key
$ sq key generate --userid "[Name <email>]"
copy
Encrypt file
$ sq encrypt --recipient-file [key.pgp] [file]
copy
Decrypt file
$ sq decrypt [file.pgp]
copy
Sign file
$ sq sign [file]
copy
Verify signature
$ sq verify --signer-file [key.pgp] [file.sig]
copy
Inspect packet
$ sq inspect [file.pgp]
copy

SYNOPSIS

sq command [options] [args]

DESCRIPTION

sq is the command-line interface for Sequoia PGP, a modern OpenPGP implementation written in Rust. It provides key generation, encryption, decryption, signing, and signature verification following the OpenPGP standard.The tool supports standard PGP workflows including key pair generation with user IDs, file encryption for recipients using public keys, and detached or inline signatures. The inspect subcommand allows examining OpenPGP packet structures for debugging and verification purposes.Sequoia PGP was developed by former GnuPG contributors as a memory-safe, modular alternative to traditional PGP implementations. sq aims to provide a cleaner command-line interface while maintaining full OpenPGP compatibility.

SUBCOMMANDS

key

Generate, modify, and inspect OpenPGP keys.
encrypt
Encrypt data for one or more recipients.
decrypt
Decrypt data using a secret key.
sign
Create an OpenPGP signature (inline, detached, or cleartext).
verify
Verify an OpenPGP signature.
inspect
Examine the structure of OpenPGP packets without decrypting.
cert
Manage TPKs (transferable public keys / certificates).
pki
Authenticate and certify keys via a Web of Trust.

COMMON OPTIONS

--recipient-file FILE

Encrypt for the certificate(s) in FILE.
--signer-file FILE
Use the secret key in FILE to sign or verify with.
--output FILE, -o FILE
Write output to FILE instead of stdout.
--binary
Emit binary OpenPGP data instead of ASCII-armored output.
--force
Overwrite existing output files.

INSTALL

sudo apt install sq
copy
sudo dnf install sequoia-sq
copy
sudo pacman -S sequoia-sq
copy
sudo apk add sequoia-sq
copy
sudo zypper install sequoia-sq
copy
brew install sq
copy
nix profile install nixpkgs#sq
copy

CAVEATS

Different from GPG. Sequoia-specific. Some features differ.

HISTORY

sq is the CLI for Sequoia PGP, a modern OpenPGP implementation written in Rust by former GnuPG developers.

SEE ALSO

gpg(1), age(1), rage(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid