eworm-de / mkinitcpio-ykfde

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

ykfde results in error: Failed opening challenge file for reading: No such file or directory #19

Closed szquadri closed 6 years ago

szquadri commented 7 years ago

Trying to run//use on Fedora 26. After installation and configuring /etc/ykfde.conf When running ykfde; it is resulting in error:

Failed requesting key. That's ok if you do not use
second factor. Give it manually if required.
Failed opening challenge file for reading: No such file or directory

Not using second factor. Yubikey is properly configured for HMAC-SHA1 but requires user input (touch). When ykfde is run it is able to access Yubikey as the light starts blinking and after touching it the error is displayed.

eworm-de commented 6 years ago

This assumes that you use

or

So I guess your configuration points to a LUKS slot that was not initialized by ykfde. Verify that you do not use this slot, kill it and try again. Or just use another slot.