summaryrefslogtreecommitdiffstats
path: root/debian/initramfs/hooks/cryptroot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 08:35:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 08:36:13 +0000
commit98bb3da708a475ff67dc019fddcb307d18856e5f (patch)
treeb3e34a4af21848ad41adebadc573cf8d39c4a70c /debian/initramfs/hooks/cryptroot
parentMerging upstream version 2:2.7.0. (diff)
downloadcryptsetup-98bb3da708a475ff67dc019fddcb307d18856e5f.tar.xz
cryptsetup-98bb3da708a475ff67dc019fddcb307d18856e5f.zip
Merging debian version 2:2.7.0-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/initramfs/hooks/cryptroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/initramfs/hooks/cryptroot b/debian/initramfs/hooks/cryptroot
index c16f7c2..83d29fd 100644
--- a/debian/initramfs/hooks/cryptroot
+++ b/debian/initramfs/hooks/cryptroot
@@ -220,7 +220,7 @@ populate_CRYPTO_HASHES() {
elif [ "$CRYPTTAB_TYPE" = "plain" ]; then
# --hash is being ignored when opening via key file
if [ "$CRYPTTAB_KEY" = "none" ] && [ -z "${CRYPTTAB_OPTION_keyscript+x}" ]; then
- hash="${CRYPTTAB_OPTION_hash-ripemd160}" # default password hashing as of cryptsetup 2.5
+ hash="${CRYPTTAB_OPTION_hash-sha256}" # default password hashing as of cryptsetup 2.7
fi
else
hash="" # or hash="@@UNKNOWN@@"?