Hacker News new | ask | show | jobs
by GoblinSlayer 4 days ago
Key rotation will help with that. Use the old key to exchange a new key, and overwrite the old key with the new key. When the new key is stolen, it gives no information about the old key, and the old messages can't be decrypted.
2 comments

Forward secrecy doesn't protect you if the algorithm itself is broken.
Most applications of asymmetric cryptography say signatures or encryption don't treat the public key as secret (i.e. the sender needs to know the receiver public key to encrypt a message decryptable by the receiver, or the verifier needs to know the public key to verify a signature). Key rotation doesn't help an efficient break of asymmetric cryptography.