logoalt Hacker News

inigyouyesterday at 9:56 PM2 repliesview on HN

You always need a long-lived key somewhere. Keeping it in an HSM is probably the safest, but also pretty expensive.


Replies

DoctorOetkeryesterday at 11:32 PM

Suppose someone could break RSA / Elliptic Curve Crypto, mathematically (because the hardness assumptions were flawed).

This person doesn't need to store the private keys, and has the luxury to recompute them on the fly when needed!

brendoelfrendoyesterday at 11:08 PM

Yes, you'll probably need to buy a specific tool or product to have secure key storage. If you're running infrastructure that requires long-lived secrets, then you either need to have a place to keep them and a plan for secrets lifecycle management, or you need to accept the risk that those secrets could be compromised.