SQ(1)

πŸ’– SQ(1) β€” the girlies' guide to sq key subkey delete πŸ’–

okay bestie, welcome to the Sequoia PGP manual page for sq key subkey delete. yes it's a whole mouthful, no we're not skipping it, and yes it's genuinely useful. sit down, hydrate, let's go ✨


🌸 NAME 🌸

sq-key-subkey-delete β€” delete a certificate's secret key material πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

sq key subkey delete [OPTIONS]

πŸŽ€ DESCRIPTION πŸŽ€

so this command deletes a certificate's secret key material. that's the whole vibe. bye secret, hello peace ✌️

but here's the part that's giving main character:

unlike sq key delete, which deletes all the secret key material, this command only deletes the specified secret key material. we are being surgical here. precise. iconic. 🎯

and ALSO, lowkey important: if the secret key material is managed by multiple devices, it gets deleted from all of them. every single one. no stragglers.

now, the way that the secret key material is gone but the public keys are retained… that's on purpose! so if you don't want the keys to be used anymore, deleting the secret isn't enough β€” you should revoke the keys using sq key subkey revoke. do that. fr fr. 🫢

✨ OPTIONS ✨

πŸ’œ Subcommand options

  • --cert=FINGERPRINT|KEYID β€” delete secret key material from the key with the specified fingerprint or key ID πŸ”‘
  • --cert-email=EMAIL β€” delete secret key material from the key where a user ID includes the specified email address πŸ“§
  • --cert-file=PATH β€” delete the secret key material from the key read from PATH πŸ“‚
  • --cert-userid=USERID β€” delete secret key material from the key with the specified user ID πŸͺͺ
  • --key=FINGERPRINT|KEYID β€” delete the specified key's secret key material πŸ—οΈ
  • --output=FILE β€” write the stripped certificate to the specified file πŸ“
heads up bestie: this option only makes sense when deleting the secret key material from a file. if you're deleting secret key material managed by the key store using --cert, you can get the stripped certificate with sq key export instead. iykyk πŸ’…

🌈 Global options

see sq(1) for a description of the global options β€” that's where the whole squad of universal flags lives πŸ’–

🌟 EXAMPLES 🌟

delete Alice's signing subkey. periodt.

sq key subkey delete \
       --cert=EB28F26E2739A4870ECC47726F0073F60FD0CBF0 \
       --key=42020B87D51877E5AF8D272124F3955B0B8DECC8

πŸ‘€ SEE ALSO πŸ‘€

for the full documentation see <https://book.sequoia-pgp.org/> πŸ“š


⭐ VERSION ⭐

1.5.0


aight that's the whole page, bestie. this manual page came to you from Sequoia PGP, version 1.5.0, and it's literally titled SQ(1). you ate that. now go revoke your subkeys if you meant it πŸ˜­πŸ’–πŸŒ·

πŸ“¦ where this page comes from