Retiring a Key Isn't Destroying It 0 ▲ Henrique Dias 43 minutes ago · Tech · hide Recently, I added support for keys stored in an HSM or a vault at work. Before that, we only had software keys, encrypted at rest in our database. With an HSM, costs are higher, which means that properly retiring and destroying a key when it is no longer necessary becomes much more important. There are many advantages to using an HSM or a vault. Firstly, the key never leaves the backend: we only send the data to sign, it signs the data, and we get the signed version. Secondly, customers issuing official credentials need an HSM to meet higher security standards, and on-premise customers want their keys in their own HSM or vault. Signing is easy: you just integrate with the backend’s API and you get the data. The interesting part is managing the end of a key’s life. And the end of a key’s life is not one step, but two: retiring the key, which happens immediately and can be undone, and destroying it, which happens later and is permanent. When Can You Retire a Key? This brings an… Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town