SQ(1) User Commands SQ(1) NAME sq key expire - Change expiration times SYNOPSIS sq key expire [OPTIONS] EXPIRY FILE DESCRIPTION Change expiration times. Keys and their individual subkeys can expire. This subcommand changes or clears the expiration times. By default, the expiration time of the entire key is changed. To change the expiration of only some of the subkeys, use the `--subkey` option. OPTIONS Subcommand options -B, --binary Emit binary data -o, --output=FILE Write to FILE or stdout if omitted --subkey=SUBKEY Change expiration of this subkey, not the entire key EXPIRY Define EXPIRY 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. FILE Read from FILE or stdin if omitted [default: -] Global options See sq(1) for a description of the global options. EXAMPLES Make Alice's key expire in a year. sq key expire 1y alice-secret.pgp Make Alice's key never expire. sq key expire never alice-secret.pgp Make Bob's authentication subkey expire in six months. sq key expire 6m --subkey 6AEACDD24F896624 bob-secret.pgp SEE ALSO sq(1), sq-key(1). For the full documentation see . VERSION 0.35.0 (sequoia-openpgp 1.20.0) Sequoia PGP 0.35.0 SQ(1)