News for hackers. Stuff that matters.
Re:Ask HN: Best Practices for storing customer secrets? by Someone on Monday February 27, 2023 @02:32PM (#34960824)
> realistically if your DB is compromised, your encryption key probably is too, because they probably got in through your application which holds the key in memory.

Not necessarily. It can reside in memory that isn’t readable by your web application (e.g. in a different process, in the OS kernel, in Apple’s Secure Enclave or ARMs TrustZone))

If your hardware supports something like that, you should seriously consider using it.

There are no comments on this comment yet.