LinuxCommandLibrary

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.

PARAMETERS

key

Key management.
encrypt
Encrypt data.
decrypt
Decrypt data.
sign
Create signature.
verify
Verify signature.
inspect
Examine packets.
--recipient-file FILE
Recipient key.

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community