Closed ljrk0 closed 3 years ago
Hi,
thanks, this is a cool addition. However, it would be even better if CLI supported parsing ENV variables on it's own and in addition to command line parameters. I'll look into that.
That'd be nice, but I don't feel comfortable enough in Go implementing this.
Further there may be problems passing environment variables with sudo hide.me
, since sudo doesn't inherit all variables. Also the environment is controlled by an unprivileged user, so maybe one would need to safeguard against that to prevent abuse.
Systemd services can be configured to pick up options automatically from so-called environment files.