How to Revoke a GPG Key

I often feel the need to have a concise guide that explains how to revoke and remove correctly GPG keys - the keys those are obsolete or perhaps passphrases are forgotten. Revocation is hard if the private key is deleted and is only possible if original revocation certificate is available. Note: GPG 2.1+ automatically generates revocation certificates in ~/.gnupg/openpgp-revocs.d/ when creating GPG key-pairs stored on disc. Step 1: Revoke the Key Choose one of the following methods: ...

October 20, 2025 · 2 min · PointNemo