2.0 - mount.crypt + LUKS silently fails on key slot != 0
Brought to you by:
jengelh
It seems not to be reported yet., pardon, if it is.
I use libpam-mount 2.0 from Debian sid. LUKS is setup on an ordinary HDD partition. I've found that mount completes only if I use passphrase from Key Slot 0. If I use a passphrase from any other key slot then the cryptsetup completes successfully and /dev/mapped/_dev_hdd is created, but the filesystem is not mounted. I have to use "cryptsetup luksClose" directly to fix the situation.
libpam-mount 2.0-1 @ Debian sid
cryptsetup 1.1.0-2.1 @ Debian sid
Fixed in commit v2.1-6-g33f646c.