SQ(1)
β¨ NAME β¨
sq-key-expire β changing a certificate's expiration time, bestie edition π
okay so literally this is the sq manual page (SQ(1), under User Commands, iykyk) and we're talking about the subcommand that changes how long a certificate lives before it expires β¨
πΈ SYNOPSIS πΈ
sq key expire [OPTIONS]
π¦ DESCRIPTION π¦
So here's the tea: this subcommand changes a certificate's expiration time. periodt. π
But listen β if you wanna change the expiration time of one individual subkey, not the whole cert, you do not come here. You go use the sq key subkey expire subcommand instead. Different vibe, different command, don't mix them up π
π OPTIONS π
π Subcommand options
--cert=FINGERPRINT|KEYIDβ changes the expiration of the key with the fingerprint or key ID you hand it. give it the exact one, no guessing, she's specific like that π--cert-email=EMAILβ changes the expiration of the key where a user ID includes the email address you specify. so if the cert's user ID has that email in it, that's your key π--cert-file=PATHβ changes the expiration of the key that gets read fromPATH. yes, straight off the filesystem, main character energy π₯--cert-userid=USERIDβ changes the expiration of the key with the specified user ID. matching by user ID, very demure, very mindful β¨--expiration=EXPIRATIONβ sets the expiration time, obviously π«
EXPIRATION is either an ISO 8601 formatted date with an optional time, or a custom duration. A duration looks like N[ymwds] β and those letters stand for years, months, weeks, days, and seconds, respectively. (yes, that's y-m-w-d-s, in that order, no cap π)
Alternatively, the keyword never means it just... doesn't set an expiration time. living forever, iconic π
[default: never]
--output=FILEβ writes toFILE, or to stdout ifFILEis'-'π
π¨ bestie important: if--cert-fileis used, then specifying--outputis mandatory. not optional. not a suggestion. required. fr fr π
π Global options
See sq(1) for a description of the global options. (go read the big one, she explains everything π«Ά)
π EXAMPLES π
Change Alice's certificate to expire in a year. slay, one whole year of validity β¨
sq key expire --expiration 1y --cert \
EB28F26E2739A4870ECC47726F0073F60FD0CBF0
Change Alice's certificate to never expire. she's eternal now, obsessed ππ
sq key expire --expiration never --cert \
EB28F26E2739A4870ECC47726F0073F60FD0CBF0
π SEE ALSO π
For the full documentation see <https://book.sequoia-pgp.org/>. ππ
β VERSION β
1.5.0 π«
and that's the whole thing bestie, we ate π½οΈβ¨ this was Sequoia PGP, version 1.5.0, and yeah, that's the signature β nonstop, periodt ππ¦
π¦ where this page comes from
- fedora 43: sequoia-sq 1.5.0-1.fc43 Β· LGPL-2.0-or-later AND Apache-2.0 AND BSL-1.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND Zlib AND bzip2-1.0.6 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
- fedora 44: sequoia-sq 1.5.0-1.fc44 Β· LGPL-2.0-or-later AND Apache-2.0 AND BSL-1.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND Zlib AND bzip2-1.0.6 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
- nixpkgs unstable: sequoia-sq 1.5.0
- opensuse-leap 16.0: sequoia-sq 1.5.0-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: sequoia-sq 1.5.0-bp160.1.1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms