SQ(1)

NAME
sq sign - Signs messages or data files

SYNOPSIS
sq [GLOBAL OPTIONS] sign [OPTIONS] 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

  Global options

-f, --force
    Overwrites existing files

--help
    Print help information

--known-notation=NOTATION
    Adds NOTATION to the list of known notations

--output-format=FORMAT
    Produces output in FORMAT, if possible

--output-version=VERSION
    Produces output variant VERSION.

--version
    Print version information

  Subcommand options

-B, --binary
    Emits binary data

-a, --append
    Appends a signature to existing signature

--cleartext-signature
    Creates a cleartext signature

--detached
    Creates a detached signature

--help
    Print help information

--merge=SIGNED-MESSAGE
    Merges signatures from the input and SIGNED-MESSAGE

-n, --notarize
    Signs a message and all existing signatures

--notation=NAME
    Adds a notation to the certification.

-o, --output=FILE
    Writes to FILE or stdout if omitted

--private-key-store=KEY_STORE
    Provides parameters for private key store

--signer-file=KEY_FILE
    Signs the message using the key in KEY_FILE

-t, --time=TIME
    Chooses keys valid at the specified time and sets the signature's creation time

--version
    Print version information

EXAMPLES

Create a signed message

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

Create a detached signature

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

SEE ALSO
sq(1).

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

VERSION
0.28.0 (sequoia-openpgp 1.13.0, using Nettle)