Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 2:18 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Feb 23, 2017 12:55 pm 
Offline

Joined: Tue Feb 21, 2017 3:09 pm
Posts: 5
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


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group