summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2021-06-25 00:47:04 +0200
committerBjörn Esser <besser82@fedoraproject.org>2021-06-25 00:55:55 +0200
commit2e13aebac926bfea7f2e3b98d6ab6bfb504500f5 (patch)
tree33ca949bd228fdc191e06393f91e883a27f113cf
parent8cc3fe03b0217d81140cf32713563193648778ad (diff)
downloadlibxcrypt-2e13aebac926bfea7f2e3b98d6ab6bfb504500f5.tar.gz
libxcrypt-2e13aebac926bfea7f2e3b98d6ab6bfb504500f5.tar.bz2
libxcrypt-2e13aebac926bfea7f2e3b98d6ab6bfb504500f5.zip
lib/hashes.conf: Add hash group for Debian.
Debian has switched to use the yescrypt hashing algorithm as the default for new user passwords, so we should add a group for this distribution.
-rw-r--r--build-aux/BuildCommon.pm1
-rw-r--r--lib/hashes.conf2
2 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/BuildCommon.pm b/build-aux/BuildCommon.pm
index cfcdab8..0e6f2a3 100644
--- a/build-aux/BuildCommon.pm
+++ b/build-aux/BuildCommon.pm
@@ -314,6 +314,7 @@ my %VALID_FLAGS = (
STRONG => 1,
DEFAULT => 1,
ALT => 1,
+ DEBIAN => 1,
FEDORA => 1,
FREEBSD => 1,
GLIBC => 1,
diff --git a/lib/hashes.conf b/lib/hashes.conf
index 817b5f0..094f7cc 100644
--- a/lib/hashes.conf
+++ b/lib/hashes.conf
@@ -39,7 +39,7 @@
# supported hashes).
#
#name h_prefix nrbytes flags
-yescrypt $y$ 16 STRONG,DEFAULT,ALT,FEDORA
+yescrypt $y$ 16 STRONG,DEFAULT,ALT,DEBIAN,FEDORA
gost_yescrypt $gy$ 16 STRONG,ALT
scrypt $7$ 16 STRONG
bcrypt $2b$ 16 STRONG,DEFAULT,ALT,FREEBSD,NETBSD,OPENBSD,OWL,SOLARIS,SUSE