Scroll to navigation

sign(1) Sequoia Manual sign(1)

NAME

sign - Signs messages or data files

SYNOPSIS

sign [-o|--output] [-B|--binary] [--private-key-store] [--detached] [--cleartext-signature] [-a|--append] [-n|--notarize] [--merge] [--signer-key] [-t|--time] [--notation] [-h|--help] [FILE]

DESCRIPTION

Signs messages or data files

Creates signed messages or detached signatures. Detached signatures are often used to sign software packages.

The converse operation is "sq verify".

OPTIONS

Writes to FILE or stdout if omitted
Emits binary data
Provides parameters for private key store
Creates a detached signature
Creates a cleartext signature
Appends a signature to existing signature
Signs a message and all existing signatures
Merges signatures from the input and SIGNED-MESSAGE
Signs using KEY
Chooses keys valid at the specified time and sets the signature's creation time
Adds a notation to the certification. A user-defined notation's name must be of the form "name@a.domain.you.control.org". If the notation's name starts with a !, then the notation is marked as being critical. If a consumer of a signature doesn't understand a critical notation, then it will ignore the signature. The notation is marked as being human readable.
Print help information
[FILE]
Reads from FILE or stdin if omitted

EXAMPLES


Create a signed message


sq sign --signer-key juliet.pgp message.txt


Create a detached signature


sq sign --detached --signer-key juliet.pgp message.txt

SEE ALSO

For the full documentation see <https://docs.sequoia-pgp.org/sq/>.

sq(1) sq-armor(1) sq-autocrypt(1) sq-certify(1) sq-dearmor(1) sq-decrypt(1) sq-encrypt(1) sq-inspect(1) sq-key(1) sq-keyring(1) sq-keyserver(1) sq-packet(1) sq-revoke(1) sq-verify(1) sq-wkd(1)

July 2022 sq 0.26.0