SQ(1)
π
SQ(1) β oh you're here for sq key revoke, bestie
Ok so real talk: this is the manual page for sq-key-revoke, a User Command that ships with Sequoia PGP, and it's genuinely one of those "you hope you never need it but when you need it you NEED it" tools. Let's get into it. β¨
π NAME
sq-key-revoke β Revoke a certificate. Yep. That's the whole vibe. You're taking a cert and you're saying "we're done here." π«Ά
πΈ SYNOPSIS
sq key revoke [OPTIONS]
π¦ DESCRIPTION
Revoke a certificate. Periodt.
It creates a revocation certificate for a certificate. Like, an actual "this key is over, please stop trusting it" artifact. πβ‘οΈβ¨
If --revoker or --revoker-file is provided, then that key is used to create the revocation certificate. And if that key is different from the certificate that is being revoked, congrats, you've made a third-party revocation. Which is normally only useful if the owner of the certificate designated the key to be a designated revoker. So, iykyk. π
Heads up: sq key revoke respects the reference time set by the top-level --time argument. When set, it uses the specified time instead of the current time when determining what keys are valid, and it sets the revocation certificate's creation time to the reference time instead of the current time. So basically the whole operation time-travels with you. π°οΈβ¨
π OPTIONS
Subcommand options π
--cert=FINGERPRINT|KEYIDβ Revoke the key with the specified fingerprint or key ID. Point at the victim, I mean, the certificate. π―--cert-email=EMAILβ Revoke the key where a user ID includes the specified email address. Matching by email, lowkey convenient.--cert-file=PATHβ Revoke the key read from PATH. Slurp it straight off the disk. π--cert-userid=USERIDβ Revoke the key with the specified user ID.--message=MESSAGEβ A short, explanatory text.
The text is shown to a viewer of the revocation certificate, and explains why the certificate has been revoked. So it's basically your little note to the future, bestie. For instance, if Alice has created a new key, she would generate a superseded revocation certificate for her old key, and might include the message I've created a new certificate, $FINGERPRINT, please use that in the future. β see, she's being polite about it. π
--output=FILEβ 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. So like, it just does the reasonable thing depending on where it found the cert. πͺ
--reason=REASONβ The reason for the revocation.
If the reason happened in the past, you should specify that using the --time argument. Why? Because this allows OpenPGP implementations to more accurately reason about artifacts whose validity depends on the validity of the certificate. Yes, that matters. Fr fr. π§
[possible values: compromised, superseded, retired, unspecified]
--revoker=FINGERPRINT|KEYIDβ Use key with the specified fingerprint or key ID to create the revocation certificate.
Sign the revocation certificate using the specified key. By default, the certificate being revoked is used. Using this option, it is possible to create a third-party revocation.
--revoker-email=EMAILβ Use key where a user ID includes the specified email address to create the revocation certificate.
Sign the revocation certificate using the specified key. By default, the certificate being revoked is used. Using this option, it is possible to create a third-party revocation.
--revoker-file=PATHβ Read key from PATH to create the revocation certificate.
Sign the revocation certificate using the specified key. By default, the certificate being revoked is used. Using this option, it is possible to create a third-party revocation.
--revoker-userid=USERIDβ Use key with the specified user ID to create the revocation certificate.
Sign the revocation certificate using the specified key. By default, the certificate being revoked is used. Using this option, it is possible to create a third-party revocation.
--signature-notation NAME VALUEβ Add a notation to the signature. βοΈ
A user-defined notation's name must be of the form name@a.domain.you.control.org. If the notation's name starts with a !, then the notation is marked as being critical. And this is the important part, so listen up: if a consumer of a signature doesn't understand a critical notation, then it will ignore the signature. That's the whole point of "critical." β οΈ The notation is marked as being human readable.
Global options π
- See
sq(1)for a description of the global options. Go read that one too, bestie, it's got the lore.
π EXAMPLES
Revoke Alice's key, indicating that there is a new certificate:
sq key revoke --cert EB28F26E2739A4870ECC47726F0073F60FD0CBF0 \
--reason superseded --message \
"My new cert is C5999E8191BF7B503653BE958B1F7910D01F86E5"
Revoke the key, indicating that the secret key material was compromised:
sq key revoke --cert EB28F26E2739A4870ECC47726F0073F60FD0CBF0 \
--reason compromised --message \
"Computer attacked, secret key material compromised"
Not the "computer attacked" example being the realest one in the whole page π stay safe out there.
π SEE ALSO
For the full documentation see <https://book.sequoia-pgp.org/>. Go. Read. Learn. Slay. πβ¨
β VERSION
1.5.0
And that's a wrap, bestie π«Ά this was Sequoia PGP, version 1.5.0, and you just read the SQ(1) page β main character energy from start to finish. Now go revoke responsibly, mwah π
π
π¦ 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