nixos/tests: correct comment in radicale.nix (#32574)
The secrets are in fact also stored unhashed, as part of the .drv file
which produces the htpasswd.
commite4b32222a3ef6ac0c0c4895e468b2e1c4e7d9708
authorLinus Heckemann <git@sphalerite.org>
dateMon 11 Dec 2017, 22:09 (9 years ago)
parent4792523
nixos/tests/radicale.nix+1−1
@@ -20,7 +20,7 @@ let
2020 '';
2121 };
2222 # WARNING: DON'T DO THIS IN PRODUCTION!
23− # This puts secrets (albeit hashed) directly into the Nix store for ease of testing.
23+ # This puts unhashed secrets directly into the Nix store for ease of testing.
2424 environment.etc."radicale/htpasswd".source = pkgs.runCommand "htpasswd" {} ''
2525 ${pkgs.apacheHttpd}/bin/htpasswd -bcB "$out" ${user} ${password}
2626 '';