Yubico Forum
https://forum.yubico.com/

[QUESTION] encrypt LUKS after boot
https://forum.yubico.com/viewtopic.php?f=35&t=2577
Page 1 of 1

Author:  fme [ Thu Feb 23, 2017 12:55 pm ]
Post subject:  [QUESTION] encrypt LUKS after boot

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-luks

But 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

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/