FS#45172 - [cryptsetup] asks twice for password on boot
Attached to Project:
Arch Linux
Opened by Dr. Hammer (dr_hammer) - Tuesday, 02 June 2015, 11:38 GMT
Last edited by Christian Hesse (eworm) - Saturday, 04 November 2017, 21:58 GMT
Opened by Dr. Hammer (dr_hammer) - Tuesday, 02 June 2015, 11:38 GMT
Last edited by Christian Hesse (eworm) - Saturday, 04 November 2017, 21:58 GMT
|
Details
Description: When plain dm-crypt HDD encryption is enabled,
the password has to be verified on boot. The problem is in
the encrypt hook (/usr/lib/initcpio/hooks/encrypt).
Additional info: cryptsetup 1.6.6-1 Line 113 in the encrypt hook causes the trouble and should be removed: exe="$exe --verify-passphrase" https://projects.archlinux.org/svntogit/packages.git/tree/trunk/encrypt_hook?h=packages/cryptsetup Steps to reproduce: Boot with encrypt hook enabled, and cryptdevice and crypto parameters set. Without a keyfile. |
This task depends upon
Closed by Christian Hesse (eworm)
Saturday, 04 November 2017, 21:58 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in SVN.
Saturday, 04 November 2017, 21:58 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in SVN.
I removed the problematic line from encrypt hook, but of course it gets reverted on each package update.
The '--verify-passphrase' option can be useful when creating new volumes, but I don't see any reason to use it every day when mounting existing volume.