agherzan / yubikey-full-disk-encryption

Use YubiKey to unlock a LUKS partition
Apache License 2.0
795 stars 50 forks source link

How to add non-ykfde LUKS key #67

Closed funboytwo closed 3 years ago

funboytwo commented 3 years ago

As the title says, how do I go about adding a regular luks key (as a backup in the unlikely event I lose access to all of my yubikeys at the same time)? Since luksAddKey requires an existing passphrase and my only slot is with ykfde, I’m unable to use cryptsetup. Does ykfde-enroll have the option not to use the yubikey?

funboytwo commented 3 years ago

Found it, the yk passphrase could be printed using ykfde-open -p.