Hi,
I want to decrypt a LUKS partion after boot.
I followed this HowTo:
https://www.howtoforge.com/ubuntu-two-factor-authentication-with-yubikey-for-harddisk-encryption-with-luks#two-factor-authentication-with-yubikey-for-harddisk-encryption-with-luksBut it seems to didn't work if I want to mount a partion after boot(e.g. a data partion)
Code:
cryptsetup luksFormat -c aes-xts-plain64 -s 512 -h sha512 -y /dev/sdb1
mkfs.ext4 /dev/mapper/sdb1
yubikey-luks-enroll -d /dev/sdb1 -s 7
cryptsetup luksOpen /dev/sdb1 yubi_sdb
Enter passphrase for /dev/sdb1:
No key available with this passphrase
Is there anything special for manualy luksOpen?
Thanks
Frank