SQ(1) User Commands SQ(1)

sq key subkey expire - Change a subkey's expiration time

sq key subkey expire [OPTIONS] EXPIRATION

Change a subkey's expiration time.

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

Changing the expiration time of the primary key is equivalent to changing the certificate's expiration time.

Emit binary data
Change the expiration time of keys on the specified certificate
Change the expiration time of keys on the specified certificate
Change the expiration of this subkey
Write to the specified FILE.
If not specified, and the certificate was read from the certificate store, imports the modified certificate into the cert store. If not specified, and the certificate was read from a file, writes the modified certificate to stdout.
Sets the key's expiration time.
EXPIRATION is either an ISO 8601 formatted string or a custom duration, which takes the form `N[ymwds]`, where the letters stand for years, months, weeks, days, and seconds, respectively. Alternatively, the keyword `never` does not set an expiration time.
When using an ISO 8601 formatted string, the validity period is from the key's creation time to the specified time. When using a duration, the validity period is from the key's creation time for the specified duration.

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

Make Alice's authentication subkey expire in 6 months.

sq key subkey expire 6m --cert \
EB28F26E2739A4870ECC47726F0073F60FD0CBF0 --key \
0D45C6A756A038670FDFD85CB1C82E8D27DB23A1

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

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

0.38.0 (sequoia-openpgp 1.21.2)

0.38.0 Sequoia PGP