pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / perl-modules / Plack-test-replace-DES-hash-with-bcrypt.patch
blob4f9918a5eeaee0599544609d30a76107188cdbc1
1 Replaces the legacy DES crypt hash used in tests with a stronger
2 bcrypt function, as crypt() in pkgs.perl no longer supports DES
4 # htpasswd -nbB admin s3cr3t
6 diff --git a/t/Plack-Middleware/htpasswd b/t/Plack-Middleware/htpasswd
7 index b597da8..f80461d 100644
8 --- a/t/Plack-Middleware/htpasswd
9 +++ b/t/Plack-Middleware/htpasswd
10 @@ -1,1 +1,1 @@
11 -admin:6iSeSVcVHgNQw
12 +admin:$2y$05$qO4lTUQMcE5mU6KI0t7j9uCjcTkpf6sAp0cv6oZiemD0MI8keeKPa