depot/third_party/nixpkgs/pkgs/development/perl-modules/Plack-test-replace-DES-hash-with-bcrypt.patch
Default email eaf6957cd3 Project import generated by Copybara.
GitOrigin-RevId: 4bb072f0a8b267613c127684e099a70e1f6ff106
2023-03-27 12:17:25 -07:00

12 lines
434 B
Diff

Replaces the legacy DES crypt hash used in tests with a stronger
bcrypt function, as crypt() in pkgs.perl no longer supports DES
# htpasswd -nbB admin s3cr3t
diff --git a/t/Plack-Middleware/htpasswd b/t/Plack-Middleware/htpasswd
index b597da8..f80461d 100644
--- a/t/Plack-Middleware/htpasswd
+++ b/t/Plack-Middleware/htpasswd
@@ -1,1 +1,1 @@
-admin:6iSeSVcVHgNQw
+admin:$2y$05$qO4lTUQMcE5mU6KI0t7j9uCjcTkpf6sAp0cv6oZiemD0MI8keeKPa