Ask HN: How does your company manage its encryption keys?
488 pointsWe just had an interesting data loss at work, that was due to data being encrypted at rest. We somehow managed to delete the encryption keys (still figuring out how), which became an obvious problem once our main database instance was rebooted.
Luckily we were able to restore the data, but now I (we) really want to learn what a proper setup would look like.
If you have any clear overview reading on the topic I'd be very interested to to know about it.
In particular I'm wondering: how do you back up your encryption keys, or even put them in escrow somewhere? Assuming we don't rotate the keys constantly I would love to just save them in somewhing like a passsword manager that's secured with 2FA/FIDO.
Would love to hear your thoughts!
Comments (238) 101 threads
Earlier commentsI don't know your company size but we use stackoverflow's blackbox. It's very nice because you can check in the repo into version control. You can add and remove users on the fly as well.
All of the key management is "built-in" and managed, so there really isn't much overhead. All software-based, with FIPS certified key management. It's very easy to encrypt data this way. It is expensive though.
Disclaimer: while I used to work for Vormetric / Thales, I no longer do.
Locked in a vault.
Keys are an actual secret key (within the HSM), unknown to any human.
Two people with two different access cards have to be present to enable key operations.
So, you don't have to worry about changing keys as employees come and go, because no one knows the actual keys.
There is a whole structure of spare cards stored in offsite secure storage in case a card is damaged, lost, or stolen.
Card set one is stored separately from card set two.
None of our secret material is particularly hard to revoke or replace; we don't run an internal CA or anything like that.
All comments shown.
Couldn't load more comments. Check your connection and try again.