[pkg-cryptsetup-devel] Bug#758788: Bug#758788: cryptsetup:	Passphrase caching broken in decrypt_keyctl
    Luc Maisonobe 
    luc at spaceroots.org
       
    Wed Sep  3 07:46:25 UTC 2014
    
    
  
Hi encountered the exact same problem on a laptop with two different
encrypted partition (one for a LVM on a SSD and one for a LVM on a HDD).
Setting echo "CRYPTTAB_TRIED: $CRYPTTAB_TRIED"' at line 36 of the
script does NOT work, and in fact it completely prevent the computer to
boot, as it gets stuck in an infinite loop complaining about wrong
passwphrase. The echo is not displayed at all during this loop.
I don't know were the echo goes and I don't know what passphrase is read
(I wonder the echo may garble the input).
I had to reboot the computer on a live system containing cryptsetup to
manually reset everything back to work (running all the commands
manually: cryptsetup luksOpen for the two encrypted partitions, vgchange
-a y to find the LVM components, mounting everything, mounting /dev,
/sys and /proc with --bind, chroot, edit the script to remove the echo,
update-initramfs -u -k all to make sure the updated script is in the
initramfs, and reboot).
So, back to square one, how can we identify the reason why the caching
script does not work anymore?
best regards,
Luc
    
    
More information about the pkg-cryptsetup-devel
mailing list