You are not logged in.

#1 2015-03-25 21:53:17

szebenyib
Member
From: LHBP
Registered: 2011-10-18
Posts: 75

No key available with this passphrase after upgrade

Hi!

I have donw a pacman -Syu yesterday and I could not unlock my luks encrypted partition after reboot. Last -Syu was at 2014-11-29.

Phenomenon:
Reboot
Hooks run as normal (udev, lvm2, keymap..... encrypt)
Asks for passphrase -> won't be accepted.

Things I have done:
- Checked the upgrade - it was all right
- Merged pacnew files into old config files all right
- Installed linux as pacman -S linux, just in case (had problems with ati earlier)
- Reboot .... surprise!!

-I have tried it 30+ times, to no avail. I use a hungarian layout, keymap hu. I have tried it with us layout too, did not accept that either.
-Googled a lot: only found this as relevant, but it's old https://bbs.archlinux.org/viewtopic.php?id=169408
-Tried the above, no success.
-Tried downgrading cryptsetup, no success.
-Rebooted via an older arch live iso, I could unlock the disk with my passphrase - so passphrase is OK!
-Done a -Syu again, no success.

Can you please help me what else to try?
Is there any way to check what I type?

Last edited by szebenyib (2015-03-25 21:54:07)

Offline

#2 2015-03-26 08:09:15

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: No key available with this passphrase after upgrade

Hi,

I had a similar problem. Using wireless keyboard (Hungarian layout) and after kernel update keyboard didn't work. I have only keyboard and keymap  in the HOOKS array. However booting with fallback image keyboard was working.
Today I run another system update and

mkinitcpio -p linux

command and now it works again. So you should try to rebuild kernel image again, too.

Offline

#3 2015-03-26 18:55:01

szebenyib
Member
From: LHBP
Registered: 2011-10-18
Posts: 75

Re: No key available with this passphrase after upgrade

Thank you Sirius for your reply smile
I have done that yesterday, I forgot to write that. It did not help unfortunately.

What I have done as a workaround is that I have unlocked it via the livei mage and added a new key besides the old. I have avoided special characters like: $ _ that the original one contains.
Now I can open my volume without any problems. Still it is a workaround and not a solution.

Offline

#4 2015-03-26 20:45:24

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: No key available with this passphrase after upgrade

Could you please check youe vconsole.conf?

cat /etc/vconsole.conf 
KEYMAP=hu101

I have special characters in my password and I've no issues with that.

Offline

#5 2015-03-26 23:16:12

frostschutz
Member
Registered: 2013-11-15
Posts: 1,647

Re: No key available with this passphrase after upgrade

Are you using whirlpool hash (check luksDump)? There was an incompatible change - a while back.

For keyboard layout issues, I like adding the passphrase twice, once for each layout (but same physical key sequence). This way LUKS accepts the passphrase in either layout.

Last edited by frostschutz (2015-03-26 23:16:38)

Offline

#6 2015-03-28 13:10:32

szebenyib
Member
From: LHBP
Registered: 2011-10-18
Posts: 75

Re: No key available with this passphrase after upgrade

I have checked what you asked for, here are the results:

@siriusb

cat /etc/vconsole.conf
KEYMAP=hu101
FONT=Lat2-Terminus16
FONT_MAP=

@frostschutz
I cannot remember using a whirpool hash. I have used the archwiki to set this install up one or two years ago.

sudo cryptsetup luksDump /dev/sda7                   14:02:29
LUKS header information for /dev/sda7

Version:       	1
Cipher name:   	aes
Cipher mode:   	xts-plain64
Hash spec:     	sha1
Payload offset:	4096
MK bits:       	512
MK digest:     	37 b1 e4 3c ee a9 4b e5 8b eb 3f 59 ef 88 f3 8b 81 5e 6a 77 
MK salt:       	17 94 04 55 cf 58 8e 06 28 42 5a 53 10 4f 2a 1d 
               	f0 1e ed 16 b8 0f 4e 73 02 80 da 10 fd 59 15 2d 
MK iterations: 	37125
UUID:          	ef078325-ab26-40ac-adc6-2a0885abc890

Key Slot 0: ENABLED
	Iterations:         	148947
	Salt:               	e9 a0 b2 d4 83 87 68 3d 24 49 34 41 4f 33 08 c9 
	                      	f9 52 fb 6e 59 6f 98 38 5f ae df 66 b8 d0 59 42 
	Key material offset:	8
	AF stripes:            	4000
Key Slot 1: ENABLED
	Iterations:         	146216
	Salt:               	ff dc 20 ab 32 8b 76 c6 a6 ba ba b1 c4 6f 7e 22 
	                      	ca e4 04 bf a2 20 08 85 8d 3e 94 d8 13 a1 eb 14 
	Key material offset:	512
	AF stripes:            	4000
Key Slot 2: ENABLED
	Iterations:         	287639
	Salt:               	6f f3 2d 73 00 f4 02 37 0f e7 fe e6 b8 7f ca e9 
	                      	b7 a9 da e2 60 11 d7 d1 03 45 73 da ff 18 a0 52 
	Key material offset:	1016
	AF stripes:            	4000
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED

Offline

Board footer

Powered by FluxBB