mount.crypt needs to pass -s to cryptsetup
Bug #367577 reported by
Kenny Millington
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpam-mount (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Invalid
|
Undecided
|
Unassigned |
Bug Description
mount.crypt needs to pass the -s option to cryptsetup or in some cases mount.crypt fails to mount the encrypted volume. In my case this is where I've used a keysize of 128 bits, but 256 is the default so unless something tells cryptsetup the keysize is 128, it proceeds to assume/use the default of 256 and thus mounting the encrypted volume fails.
This was fixed upstream in the following commitdiff:-
I've re-based this fix against the Jaunty version of libpam-mount and I'll attach a debdiff once this bug is logged so I know the LP bug number.
Jaunty test package with the debdiff applied has now been submitted to my PPA.