eworm-de / mkinitcpio-ykfde

Full disk encryption with Yubikey (Yubico key)
GNU General Public License v3.0
109 stars 26 forks source link

Could not update passphrase for key slot n. #38

Closed perceival closed 2 years ago

perceival commented 2 years ago

I was able to succesfully setup ykfde on some Fedora PCs however I have problems with one computer. This is luksDump:

LUKS header information for /dev/nvme0n1p6

Version:        1
Cipher name:    aes
Cipher mode:    xts-plain64
Hash spec:      sha256
Payload offset: 4096
/cut/
MK iterations:  148271
UUID:           6e356120-a228-4bd7-a1a1-b9288a99dc9d

Key Slot 0: ENABLED
    Iterations:             2385838
/cut/
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

and that is the result of sudo ykfde -N:

Please give new second factor:
Please give new second factor for verification:
Could not update passphrase for key slot 3.

Any hints? Linux 5.16.13-200.fc35.x86_64 #1 SMP PREEMPT Tue Mar 8 22:50:58 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

EDIT: My fault. No issue.