SQ(1)

πŸ’… NAME πŸ’…

sq-key-subkey-revoke β€” revoke a subkey, bestie. That's it, that's the whole job. πŸŽ€


✨ SYNOPSIS ✨

sq key subkey revoke [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so: this revokes a subkey. Periodt.

It creates a revocation certificate for a subkey. That's the whole vibe. πŸ’–

So here's the tea on third-party situations: 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's being revoked? Boom, that's a third-party revocation. Lowkey this is normally only useful if the owner of the certificate designated the key to be a designated revoker. iykyk. πŸ‘‘

Also important, no cap: sq key subkey revoke respects the reference time set by the top-level --time argument. When it's 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 like, the clock is yours to control fr fr. ⏰


πŸ”₯ OPTIONS πŸ”₯

🌸 Subcommand options 🌸

  • --cert=FINGERPRINT|KEYID β€” revoke the specified subkeys on the key with the specified fingerprint or key ID.
  • --cert-email=EMAIL β€” revoke the specified subkeys on the key where a user ID includes the specified email address.
  • --cert-file=PATH β€” revoke the specified subkeys on the key read from PATH.
  • --cert-userid=USERID β€” revoke the specified subkeys on the key with the specified user ID.
  • --key=FINGERPRINT|KEYID β€” revoke the specified subkey. 🎯
  • --message=MESSAGE β€” a short, explanatory text.

The text is shown to a viewer of the revocation certificate, and 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." Cute, right? Very main character of her. πŸ’Œ

  • --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. Choose your own adventure bestie. 🌈

  • --reason=REASON β€” the reason for the revocation.

If the reason happened in the past, you should specify that using the --time argument. This allows OpenPGP implementations to more accurately reason about artifacts whose validity depends on the validity of the user ID.

[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. If a consumer of a signature doesn't understand a critical notation, then it will ignore the signature. The notation is marked as being human readable. πŸ“

πŸ’œ Global options πŸ’œ

See sq(1) for a description of the global options. Go read it, bestie, it's giving essential.


🌟 EXAMPLES 🌟

Revoke Alice's signing subkey.

sq key subkey revoke \
       --cert=EB28F26E2739A4870ECC47726F0073F60FD0CBF0 \
       --key=42020B87D51877E5AF8D272124F3955B0B8DECC8 --reason \
       retired --message "Subkey rotation."

Revoke Alice's signing subkey and encryption subkeys.

sq key subkey revoke \
       --cert=EB28F26E2739A4870ECC47726F0073F60FD0CBF0 \
       --key=42020B87D51877E5AF8D272124F3955B0B8DECC8 \
       --key=74DCDEAF17D9B995679EB52BA6E65EA2C8497728 --reason \
       retired --message "Subkey rotation."

Slay. Two --key flags, one certificate, zero problems. πŸ’…βœ¨


πŸ‘‘ SEE ALSO πŸ‘‘

sq(1), sq-key(1), sq-key-subkey(1).

For the full documentation see <https://book.sequoia-pgp.org/>. πŸ¦‹


⭐ VERSION ⭐

1.5.0


Okay bestie that's the whole page, you ate. Now go revoke something responsibly. 🫢

Sequoia PGP, version 1.5.0 β€” that's the source and the version, babes. Made with love, shipped as SQ(1), and this manual page is dated 1.5.0. Mwah. πŸŽ€πŸ’–

πŸ“¦ where this page comes from