Why Key Rotation
![]() |
| /via https://bit.ly/2HKytRW |
If you have encrypted data up there in the cloud (•) you’ve probably run across key rotation. It’s good practice — very good practice — and exists for some fairly straightforward reasons
- • Encryption stales. Sometimes it’s just a matter of time (DES was awesome in 1977. Now, not so much). So if your encryption algorithm can be broken in N years, you probably want to rotate it in some period smaller than N, no?
And yeah, N isn’t necessarily “heat death of the universe” because you’re using 4096-bit keys. Things change — key leaks, quantum encryption, NSA loopholes, whatever. The safe thing to do is just rotate your signing key — and, potentially, the algorithm too !— every so often (••)
- • Keys Leak. It happens, and for a host of reasons, ranging from “whyTF did you write it down on a Post-it?” to state-actors. In either case, keys do leak. The safe thing to do is rotate your encryption key every so often, so that when keys do get compromised, the amount of data that you lost isn’t, well, Everything.
- • Straight up attacks. For many (most?) encryption algorithms, the more data you gather, the easier it is to break. A prominent example is AES GSM, that loses it’s protection-fu if more than 64GB of data is encrypted with the same key (••). Key rotation, FTW!
So yeah, the bottom line is that key rotation is A Good Thing.
(•) Or even down in your own system. Basically, this applies to any encrypted data
(••) See NIST SP 800–38D section 5.2.1.1 for details on AES GCM, and the 64GB fun.
(••) See NIST SP 800–38D section 5.2.1.1 for details on AES GCM, and the 64GB fun.

Comments