subkey(1)
π subkey β from the Sequoia Manual, bestie π
okay so. you wanna revoke a subkey. slay, let's go, this is genuinely iconic behaviour and i'm gonna walk you through it like we're texting at 2am π¦
β¨ NAME β¨
subkey β Revoke a subkey π
πΈ SYNOPSIS πΈ
subkey [--certificate] [--revocation-key] [--private-key-store]
[-t|--time] [--notation] [-B|--binary] [-h|--help] <SUBKEY> <REASON>
<MESSAGE>
π DESCRIPTION π
Revokes a subkey.
Lowkey the whole job: it creates a revocation certificate for a subkey. that's it. that's the vibe β¨
okay but here's the tea about --revocation-key: if you pass it, that key is the one used to create the signature. and if that key is different from the certificate you're revoking? congrats bestie, you just made a third-party revocation. ngl that's normally only useful when the owner of the certificate designated that key to be a designated revoker. iykyk π
and if --revocation-key is not provided? then the certificate itself has to include a certification-capable key. no key, no signature, no revocation, periodt π
π OPTIONS π
--certificate=FILEβ reads the certificate containing the subkey you wanna revoke fromFILE, or from stdin if you just... omit it π. and heads up: it is an error for the file to contain more than one certificate. one (1) cert. we don't do bundles here π--revocation-key=KEYβ signs the revocation certificate usingKEY. if the key is different from the certificate, boom, third-party revocation. and if you don't provide this option, but the certificate includes secret key material, then that key is what gets used to sign the revocation certificate. convenient? yes. β¨--private-key-store=KEY_STOREβ provides parameters for private key store π-t,--time=TIMEβ chooses keys valid at the specified time and sets the revocation certificate's creation time β° (yes it does both, she's multitalented)--notation=NAME VALUEβ adds a notation to the certification. a user-defined notation's name must be of the formname@a.domain.you.control.org. if the notation's name starts with a!, then the notation is marked as being critical. and if a consumer of a signature doesn't understand a critical notation, then it will ignore the signature π. also, the notation is marked as being human readable π«Ά-B,--binaryβ emits binary data π₯-h,--helpβ print help information π<SUBKEY>β the subkey to revoke. this must either be the subkey's Key ID or its fingerprint. no vibes-based identification, sorry bestie π<REASON>β the reason for the revocation. this must be either:compromised,superseded,retired, orunspecified:compromisedmeans that the secret key material may have been compromised. prefer this value if you suspect that the secret key has been leaked. π¨supersededmeans that the owner of the certificate has replaced it with a new certificate. prefer"compromised"if the secret key material has been compromised even if the certificate is also being replaced! and you should include the fingerprint of the new certificate in the message. πretiredmeans that this certificate should not be used anymore, and there is no replacement. this is appropriate when someone leaves an organisation. prefer"compromised"if the secret key material has been compromised even if the certificate is also being retired! and you should include how to contact the owner, or who to contact instead in the message. πunspecifiedmeans that none of the three other three reasons apply. openpgp implementations conservatively treat this type of revocation similar to a compromised key. π
and if the reason happened in the past, you should specify that using the --time argument. this allows OpenPGP implementations to more accurately reason about objects whose validity depends on the validity of the certificate. β³
<MESSAGE>β a short, explanatory text that is shown to a viewer of the revocation certificate. it explains why the subkey has been revoked. 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 subkey, please refresh the certificate.π
π¦ SEE ALSO π¦
for the full documentation see <https://docs.sequoia-pgp.org/sq/>. β¨
sq(1) sq-armor(1) sq-autocrypt(1) sq-certify(1) sq-dearmor(1) sq-decrypt(1) sq-encrypt(1) sq-inspect(1) sq-key(1) sq-keyring(1) sq-keyserver(1) sq-packet(1) sq-revoke(1) sq-revoke-certificate(1) sq-revoke-userid(1) sq-sign(1) sq-verify(1) sq-wkd(1) π
and that's the whole page bestie!! this was sq 0.26.0, dated July 2022, and yes the version and the date are the entire personality of this sign-off π go forth and revoke responsibly, mwah πβ¨
π¦ where this page comes from
- debian bookworm: sq 0.27.0-2+b1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms