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

Dotenv is an okay hack, but the root problem is that the operating systems we run these applications in don't have a fully conceived environment variable system.

I think you have a fair point that dotenvx doesn't get the implementation right, but it does at least seem to recognize where the problem lies and is trying to fix it from that angle. You have to start somewhere. Almost never do we get solutions right the first time. It takes iteration and experimentation and perhaps this (and others like it) can pave the way towards a better solution.



That is the point, the OS / container-system must provide a secure system for storing and accessing the crypted keys.

In the best case your app sends (something like gRPC) to the OS-key-system, that adds decrypted keys and executes the function. So you app will never have direct access to the decrypted keys. Like fingerprint-system in smartphones.




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

Search: