SQ(1) User Commands SQ(1)

sq key expire - Change expiration times

sq key expire [OPTIONS] EXPIRATION

Change expiration times.

Change or clear a certificate's expiration time.

This subcommand changes the certificate's expiration time. To change the expiration time of an individual subkey, use the `sq key subkey expire` subcommand.

Emit binary data
Change the certificate's expiration time
Change the certificate's expiration time
Write to FILE or stdout if omitted
Define EXPIRATION for the key as ISO 8601 formatted string or custom duration. If an ISO 8601 formatted string is provided, the validity period reaches from the reference time (may be set using `--time`) to the provided time. Custom durations starting from the reference time may be set using `N[ymwds]`, for N years, months, weeks, days, or seconds. The special keyword `never` sets an unlimited expiry.

See sq(1) for a description of the global options.

Make Alice's key expire in a year.

sq key expire 1y --cert-file alice-secret.pgp

Make Alice's key never expire.

sq key expire never --cert-file alice-secret.pgp

sq(1), sq-key(1).

For the full documentation see https://book.sequoia-pgp.org.

0.37.0 (sequoia-openpgp 1.20.0)

0.37.0 Sequoia PGP