News for hackers. Stuff that matters.
Re:Billion-record stolen Chinese database for sale on breach... by asdff on Tuesday July 05, 2022 @07:04PM (#31994822)
It doesn't help that so many tools are like "give me your secret key in plain text in the config file" without at least offering a link to a webpage on the github of how you could secure your keys and use this software
Re:Billion-record stolen Chinese database for sale on breach... by zricethezav on Tuesday July 05, 2022 @07:23PM (#31994968)
hardcoded creds in example documentation... T_T

Use vault, env vars, GitHub/GitLab secrets, anything but string literals!!!

Re:Billion-record stolen Chinese database for sale on breach... by maccard on Wednesday July 06, 2022 @03:47AM (#31997969)
Vault is not just a drop in and go system - setting up a vault instance is an ordeal in and of itself, and the pricing for vault on hashicorp cloud is incredibly expensive. The problem with the other options is that you have to get the secrets into environment variables, or out of github/lab secrets and into your application. To use most of the services like AWS secrets manager, vault, etc, it will cost you more to manage secrets than it will to host the app on a small DO droplet for example.
Re:Billion-record stolen Chinese database for sale on breach... by pinglin on Wednesday July 06, 2022 @06:27AM (#31998998)
Self-hosted Vault within a minimum Kubernetes cluster in GCP costs us roughly $35 a month. Maintenance effort can be neglected if not scaling. Vault has its learning curve there but I think it's totally worth it, given its secret management and API-first features integrated with many other DevOps tools.
Re:Billion-record stolen Chinese database for sale on breach... by maccard on Wednesday July 06, 2022 @08:23AM (#31999791)
$35/month is more than a small team will pay on source control.
Re:Billion-record stolen Chinese database for sale on breach... by danenania on Wednesday July 06, 2022 @04:00AM (#31998053)
If anyone’s looking for something more secure than vanilla env vars but simpler than Vault, you could check out EnvKey[1]. Disclaimer: I’m the founder.

It’s end-to-end encrypted, cloud or self-hosted, and very quick to integrate.

1 - https://envkey.com

Re:Billion-record stolen Chinese database for sale on breach... by trhway on Wednesday July 06, 2022 @12:47AM (#31996839)
It feels like just only yesterday secrets in env vars were considered faux pas :)