Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think this was copied from Latacora’s cryptographic right answers without some of the necessary context. It’s specifically talking about the KMS offerings from AWS/Google Cloud, which provide trusted hardware implementations of not just key management, but also symmetric/asymmetric encryption, HMAC, etc. All the symmetric constructions provided by these platforms are AEADs, so the point is, if you’re using AWS’s KMS, don’t think about it, just use the default. Which is fairly sensible advice.


KMS is often used to store KEKs only, you'd still have to create and manage DEKs and use AEAD for actual data encryption.


Depends these days KMS also extends to solutions that provide full on encryption as a service such as Vault. If your design allows for a trusted and well vetted EAAS solution to be used that should be the first you go for.


It also goes on to say not to use Amazon or Google in the last section.

Fortunately there are good FOSS KMSes out there. I like Cloudflare's Red October: https://github.com/cloudflare/redoctober




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: