News for hackers. Stuff that matters.
Re:GitHub commit search: “remove password” by grogenaut on Wednesday February 15, 2017 @11:52AM (#13653362)
Kms doesn't have a size limit if used right. You should use kms to store a key and store the data on s3 encrypted.
Re:GitHub commit search: “remove password” by joseph on Wednesday February 15, 2017 @12:09PM (#13653489)
Sure, which is why I said to use e.g. credstash in such cases. It stores the secrets in DynamoDB while using KMS to handle the keys. I guess you are talking about using S3 server side encryption, which is another approach.
Re:GitHub commit search: “remove password” by grogenaut on Saturday February 18, 2017 @12:47AM (#13673776)
No I'm literally talking about taking the row key and using it as the lookup from kms for the crypto key. Then you take the plaintext, the crypto key, encrypt the plain text and store it whereever. It's 1 additional aws api call over storing the stuff unencrypted, and about 5 lines of code in java that can be turned into a 1 line library call. Not sure why you need credstash.
Re:GitHub commit search: “remove password” by acejam on Wednesday February 15, 2017 @12:50PM (#13653851)
+1 Upvote for credstash
Re:GitHub commit search: “remove password” by jrowley on Wednesday February 15, 2017 @12:29PM (#13653666)
I'm curious of cases for when people are running into size limitations for storing secrets... what type of secrets are > 4kb? I could imagine some example but I'm wondering about real world examples...
Re:GitHub commit search: “remove password” by grogenaut on Friday February 17, 2017 @11:59PM (#13673672)
Every file or message you want to send encrypted through AWS or store permanently in S3. I often use crypto as signing as well, since it mostly comes for free code wise at my job.