-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot add LUKS key: fgets error 0x00 #31
Comments
Thanks for the report @schaerfo! I'll take a look in the next couple of days, but I think I know what the issue might be. |
Quick update here:
I'm still in the process of putting this together in a patch, but I'll have that sorted out this week for sure. |
Thank you for your work so far, no need to hurry |
Reproduced this bug using Yubikey having FIDO PIN. Meanwhile, with another key (CanoKey) without FIDO PIN, the behavior is expected. |
Co-authored-by: Zenithal <i@zenithal.me>
Co-authored-by: Zenithal <i@zenithal.me>
This is fixed in version 0.6.1, now tagged and released. |
Describe the bug
After generating the keyfile, adding the key to LUKS with
khefin-add-luks-key
fails.To Reproduce
Steps to reproduce the behavior:
khefin enrol
sudo khefin-add-luks-key /tmp/keyfile /dev/nvme0n1p6
khefin: Unable to get authenticator PIN for ONLYKEY at /dev/hidraw1 on STDIN: fgets error 0x00
is displayed and khefin exits with status 68Expected behavior
I am prompted to tap the security key, after that, the LUKS key is added.
Environment:
The text was updated successfully, but these errors were encountered: