Re:Hell Is Overconfident Developers Writing Encryption Code
by SomaticPirate on Saturday February 01, 2025 @12:14AM
(#42895863)
[delayed]
[ Parent
| on HN ]
Re:Hell Is Overconfident Developers Writing Encryption Code
by BigJono on Saturday February 01, 2025 @12:44AM
(#42896011)
AWS KMS is great product branding. I've never seen another company so accurately capture how it feels to use their product with just the name before.
Re:Hell Is Overconfident Developers Writing Encryption Code
by tptacek on Saturday February 01, 2025 @02:18AM
(#42896494)
It's also just a profoundly good product. If you can use KMS, you should.
Re:Hell Is Overconfident Developers Writing Encryption Code
by smitelli on Saturday February 01, 2025 @07:24AM
(#42897815)
Always be suspicious of any acronym with a ‘K’ in it, just on general principle.
Re:Hell Is Overconfident Developers Writing Encryption Code
by benmmurphy on Saturday February 01, 2025 @06:23AM
(#42897581)
There are some weird attacks against KMS that I think are possible that are not obvious. For example KMS has a mode where it will decrypt without supplying a key reference (suspicious!). If an attacker can control the cipher text then they can share a KMS key from their AWS account to yours and then control the plaintext. I haven’t confirmed this works so maybe my understanding is incorrect.
Also, with KMS you probably should be using the data key API but then you need some kind of authenticated encryption implemented locally. I think AWS has SDKs for this but if you are not covered by the SDK then you are back to rolling your own crypto.