depot/pkgs/development/perl-modules/CatalystAuthenticationStoreHtpasswd-test-replace-DES-hash-with-bcrypt.patch
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

12 lines
423 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 mufasa "Circle of Life"
diff --git a/t/lib/TestApp/htpasswd b/t/lib/TestApp/htpasswd
index 6cec784..91e5375 100644
--- a/t/lib/TestApp/htpasswd
+++ b/t/lib/TestApp/htpasswd
@@ -1 +1 @@
-mufasa:Y7hn4ncIVPOuI
+mufasa:$2y$05$.KPC4Gja9L5AxJATDQBzs.lCHkm49l/9dcoyPcJg0JhyIvsD6Gqza