From e4b32222a3ef6ac0c0c4895e468b2e1c4e7d9708 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Mon, 11 Dec 2017 22:09:23 +0000 Subject: [PATCH] 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. --- nixos/tests/radicale.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/radicale.nix b/nixos/tests/radicale.nix index f694fc75ef7..8ac0639c6a8 100644 --- a/nixos/tests/radicale.nix +++ b/nixos/tests/radicale.nix @@ -20,7 +20,7 @@ let ''; }; # WARNING: DON'T DO THIS IN PRODUCTION! - # This puts secrets (albeit hashed) directly into the Nix store for ease of testing. + # This puts unhashed secrets directly into the Nix store for ease of testing. environment.etc."radicale/htpasswd".source = pkgs.runCommand "htpasswd" {} '' ${pkgs.apacheHttpd}/bin/htpasswd -bcB "$out" ${user} ${password} '';