You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The .env file may contain secrets. Its contents must remain confidential. source
According to nix philosophy the nix store is not confidential. source
The devenv/dotenv integration copies the contents of the .env file into the nix store.
As a result, the secrets in .env do not remain confidential.
Create .env file with content SECRET=batteryhorsestaples.
Set dotenv.enable in devenv.nix, build the shell.
Search (and find) batteryhorsestaples in /nix.
Version
devenv 1.3.1 (x86_64-linux)
The text was updated successfully, but these errors were encountered:
Describe the bug
The
.env
file may contain secrets. Its contents must remain confidential. sourceAccording to nix philosophy the nix store is not confidential. source
The devenv/dotenv integration copies the contents of the .env file into the nix store.
As a result, the secrets in
.env
do not remain confidential.Related:
To reproduce
Create
.env
file with contentSECRET=batteryhorsestaples
.Set
dotenv.enable
indevenv.nix
, build the shell.Search (and find)
batteryhorsestaples
in/nix
.Version
devenv 1.3.1 (x86_64-linux)
The text was updated successfully, but these errors were encountered: