OK folks, I'm in trouble, big trouble and if anyone has any advice I would really appreciate it.
I've had an encrypted /home partition since gutsy and was able to successfully upgrade to hardy some months ago. This morning when I enter my passphrase I get the error message "Command failed: No key available for this passphrase". I know that the passphrase is correct as it has been my primary machine for the last year. The only notable since the last successful login was an update of gvfs through update manager (from proposed - which I know might be a bad idea), I don't know if this is related.
What I have tried so far
- Booted from a liveCD (intrepid RC) and run the following:
apt-get install lvm2 cryptsetup
cryptsetup luksOpen /dev/sda3 test
- Checked it's not a keyboard problem using gedit and also copying and pasting.
- I have previously setup "Boot up manager (bum)" to show grub options for 0 seconds, pressing esc or down-arrow on bootup doesn't give me access to grub menu. Therefore I am not able to try it with an older kernel (although as I say we have not had an update for a while and it was functioning perfectly till this morning.
- The server I was using to do my backup's has had a problem with mounting usb drives, that I had not noticed. i.e I HAVE NO BACKUP! I know this is my own fault, as I've lectured a thousand clients but it does make it even more important for me to find a solution if one exists.
Could it be a disk issue? Is there any point running something like spinrite on the disk? Should I try doing a "repair existing system" from a live CD? Any opinions or suggests very gratefully received!
My virtual life is in your hands!
Not sure if this is any use (I can't make much use of it), but when I run the following command on the 8.04.1 live disk:
I get the the following response
cryptsetup luksDump /dev/sda3
root@ubuntu:/home/ubuntu# cryptsetup luksDump /dev/sda3
LUKS header information for /dev/sda3
Cipher name: aes
Cipher mode: cbc-essiv:sha256
Hash spec: sha1
Payload offset: 1032
MK bits: 128
MK digest: 05 9e a4 82 6c 5d c4 48 72 9a 35 bf b0 26 5f 2b d7 c0 48 d4
MK salt: be ae 73 a0 18 fa 34 02 11 ef df aa 75 8f e7 15
9a 7c 31 67 a5 16 86 ef 99 ad 2e c2 de e8 90 1c
MK iterations: 10
Key Slot 0: ENABLED
Salt: 2c 4c 4e 1c fd c4 42 1b d6 d3 8a 2a 12 22 98 26
80 f3 fe 1d 1f 26 3b 6a 39 4e 3e 3a ab 5d bd 42
Key material offset: 8
AF stripes: 4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED