Loading nixos/tests/wpa_supplicant.nix +7 −5 Original line number Diff line number Diff line Loading @@ -8,6 +8,8 @@ let maintainers = [ oddlama rnhmjoj ]; }; naughtyPassphrase = ''!,./;'[]\-=<>?:"{}|_+@$%^&*()`~ # ceci n'est pas un commentaire''; runConnectionTest = name: extraConfig: runTest { name = "wpa_supplicant-${name}"; inherit meta; Loading @@ -27,7 +29,7 @@ let ssid = "nixos-test-sae"; authentication = { mode = "wpa3-sae"; saePasswords = [ { password = "reproducibility"; } ]; saePasswords = [ { password = naughtyPassphrase; } ]; }; bssid = "02:00:00:00:00:00"; }; Loading @@ -36,8 +38,8 @@ let authentication = { mode = "wpa3-sae-transition"; saeAddToMacAllow = true; saePasswordsFile = pkgs.writeText "password" "reproducibility"; wpaPasswordFile = pkgs.writeText "password" "reproducibility"; saePasswordsFile = pkgs.writeText "password" naughtyPassphrase; wpaPasswordFile = pkgs.writeText "password" naughtyPassphrase; }; bssid = "02:00:00:00:00:01"; }; Loading @@ -45,7 +47,7 @@ let ssid = "nixos-test-wpa2"; authentication = { mode = "wpa2-sha256"; wpaPassword = "reproducibility"; wpaPassword = naughtyPassphrase; }; bssid = "02:00:00:00:00:02"; }; Loading @@ -65,7 +67,7 @@ let # secrets secretsFile = pkgs.writeText "wpa-secrets" '' psk_nixos_test=reproducibility psk_nixos_test=${naughtyPassphrase} ''; } extraConfig Loading Loading
nixos/tests/wpa_supplicant.nix +7 −5 Original line number Diff line number Diff line Loading @@ -8,6 +8,8 @@ let maintainers = [ oddlama rnhmjoj ]; }; naughtyPassphrase = ''!,./;'[]\-=<>?:"{}|_+@$%^&*()`~ # ceci n'est pas un commentaire''; runConnectionTest = name: extraConfig: runTest { name = "wpa_supplicant-${name}"; inherit meta; Loading @@ -27,7 +29,7 @@ let ssid = "nixos-test-sae"; authentication = { mode = "wpa3-sae"; saePasswords = [ { password = "reproducibility"; } ]; saePasswords = [ { password = naughtyPassphrase; } ]; }; bssid = "02:00:00:00:00:00"; }; Loading @@ -36,8 +38,8 @@ let authentication = { mode = "wpa3-sae-transition"; saeAddToMacAllow = true; saePasswordsFile = pkgs.writeText "password" "reproducibility"; wpaPasswordFile = pkgs.writeText "password" "reproducibility"; saePasswordsFile = pkgs.writeText "password" naughtyPassphrase; wpaPasswordFile = pkgs.writeText "password" naughtyPassphrase; }; bssid = "02:00:00:00:00:01"; }; Loading @@ -45,7 +47,7 @@ let ssid = "nixos-test-wpa2"; authentication = { mode = "wpa2-sha256"; wpaPassword = "reproducibility"; wpaPassword = naughtyPassphrase; }; bssid = "02:00:00:00:00:02"; }; Loading @@ -65,7 +67,7 @@ let # secrets secretsFile = pkgs.writeText "wpa-secrets" '' psk_nixos_test=reproducibility psk_nixos_test=${naughtyPassphrase} ''; } extraConfig Loading