SQ(1)
π SQ(1) β the manual, but make it cute
okay bestie, so this is the SQ manual page β part of Sequoia PGP, user commands division π. Sit down, grab a boba, and let's get into it.
β¨ NAME β¨
sq-key-subkey-expire β change a subkey's expiration time π°οΈ
That's literally it. That's the whole job. She does one thing and she does it flawlessly.
πΈ SYNOPSIS πΈ
sq key subkey expire [OPTIONS]
π¦ DESCRIPTION π¦
So here's the tea: this subcommand changes a key's expiration time. But baby, listen β if you wanna change the expiration time of the certificate itself, you want sq key expire instead. Different tool, different vibe. iykyk.
And here's the thing that lowkey trips people up: changing the expiration time of the primary key is equivalent to changing the certificate's expiration time. Same thing, no cap.
Also? The expiration time of a subkey is bound by the expiration of the certificate. So likeβ¦ the subkey can't outlive the cert, periodt. Don't try to fight the hierarchy, she will win. π
π OPTIONS π
π Subcommand options
--cert=FINGERPRINT|KEYIDβ change the expiration of the specified (sub)keys on the key with the specified fingerprint or key ID. That's your target, bestie π―--cert-email=EMAILβ change the expiration of the specified (sub)keys on the key where a user ID includes the specified email address. Finding your key by email, iconic.--cert-file=PATHβ change the expiration of the specified (sub)keys on the key read fromPATH. She's reading it from a file, she's flexible like that.--cert-userid=USERIDβ change the expiration of the specified (sub)keys on the key with the specified user ID.--expiration=EXPIRATIONβ sets the expiration time β³
EXPIRATION is either an ISO 8601 formatted date with an optional time, or a custom duration. A duration 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 β so it's forever, literally immortal, main character energy π
[default: never]
--key=FINGERPRINT|KEYIDβ use the key with the specified fingerprint or key ID.--output=FILEβ write to the specifiedFILEπ
And here's the important bit, no skipping: if you don't specify it, and the certificate was read from the certificate store, it imports the modified certificate into the cert store. If you don't specify it, and the certificate was read from a file, it writes the modified certificate to stdout. Two paths, two outcomes, read carefully bestie π«Ά
π Global options
See sq(1) for a description of the global options. Yeah, she's got a big sister, go ask her.
π EXAMPLES π
Change Alice's authentication subkey to expire in 6 months. Slay, Alice. β¨
sq key subkey expire --expiration 6m \
--cert=EB28F26E2739A4870ECC47726F0073F60FD0CBF0 \
--key=0D45C6A756A038670FDFD85CB1C82E8D27DB23A1
π₯ SEE ALSO π₯
For the full documentation see <https://book.sequoia-pgp.org/>. Go read it, it's giving academic but in a good way π
β VERSION β
1.5.0
<div align>
okay that's the whole page, go forth and expire those subkeys responsibly π
this has been Sequoia PGP, version 1.5.0, manual page SQ(1) β mwah, bye bestie ππ¦β¨
</div>
π¦ 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