Package: cryptsetup Version: 2:2.3.7-1+deb11u1 Severity: minor X-Debbugs-Cc: wri...@owenh.net
Hello, The crypttab(5) man page has an example labeled "Encrypted swap device" that should be updated so it does not print warnings. ## Summary The example should be updated to this (add "plain", remove "hash=sha1"): cswap /dev/sda6 /dev/urandom plain,cipher=aes-xts-plain64,size=256,swap Instead of this: cswap /dev/sda6 /dev/urandom cipher=aes-xts-plain64,size=256,hash=sha1,swap ## Justification Otherwise, cryptsetup prints these warnings: ``` # cryptdisks_start cswap Starting crypto disk... cryptsetup: WARNING: cswap: couldn't determine device type, assuming default (plain). cswap (starting)... WARNING: The --hash parameter is being ignored in plain mode with keyfile specified. cswap (started)...done. ``` Thank you for your work on cryptsetup. Owen