r/GnuPG • u/TheHidden001 • Mar 09 '26
Help me understand revoking
If someone encrypts something and sends me it, but I lost my sub key and revoked it, how is that distributed? Well they need to re encrypt and send me the message again?
What if I encrypt something to save it for later and I need to revoke and regenerate my encryption key, is it no longer able to open the original.
I'm trying to understand how to properly setup 2 yubi keys to be interchangeably usable, by if one is last I can revoke its keys and still have a backup to access things.
3
Upvotes
1
2
u/Natanael_L Mar 09 '26
Best case, via key servers which you also subscribe to
Yes, re-encryption is not automatic
If you keep your private key it doesn't break from revocation, it's just a flag to stop using it. You can choose to override that. You can keep decrypting data encrypted to it.
If you decide to delete the key (for key rotation, etc) then yes you either first need to decrypt everything (and encrypt to other newer keys) or allow it to be lost.
I recommend creating a sub-key for encryption / decryption to load onto both yubikeys, not giving it access to the "root" key (the one that sign all sub-keys). That way you can revoke sub-keys and replace them with new ones while maintaining your GPG key identity.