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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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.
Comment by Piotr Jurkiewicz (piotrjurkiewicz) - Friday, 30 October 2015, 01:49 GMT
This bug affects me as well and is very annoying.

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.
Comment by Maxim (mxfm) - Saturday, 04 November 2017, 07:25 GMT
Yesterday I filed a duplicate issue of this (it is already closed).

Loading...