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 from PATH. 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 specified FILE πŸ“

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