commands.sh

sq

all

A modern OpenPGP command-line tool. See also: `gpg`.

More info →

Examples (8)

Encrypt a file using a password (symmetric encryption)

sq encrypt --with-password --without-signature path/to/file --output path/to/file.pgp

Decrypt a password-protected file

sq decrypt path/to/file.pgp --output path/to/file

Inspect an OpenPGP file to see its metadata and structure

sq inspect path/to/file.pgp

Verify a file with a detached signature and a certificate file

sq verify --signer-file path/to/signer.asc --signature-file path/to/file.sig path/to/file

Verify a file with an embedded (cleartext) signature and a certificate file

sq verify --signer-file path/to/signer.asc --cleartext path/to/file

Generate own key, and save it on the local key store

sq key generate --own-key --name name --email [email protected]

List all secret keys or certs managed by the local key store

sq key|cert list

List current configuration and storage paths

sq config inspect paths
made by @shridhargupta | data from tldr-pages