-
Notifications
You must be signed in to change notification settings - Fork 51
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
Make 2FA the default mode in initramfs so default config works #58
Comments
Okay, got it. Its a duplicate of #50 They way the config works right now is very uncommon. Currently there is no working default. Thus I think People will keep falling for this. |
Hi, I agree this situation isn't perfect but see my comment from mentioned thread:
When someone enabled initramfs hook but forgot enrolling password then they may be locked-out of system if we didn't provide fallback. There should be no such risk on running system and that's why |
Could one distinguish between an empty string and no string at all for the `YKFDE_CHALLENGE? Or maybe have something like "DEFAULT" as string and then say that this means, 2FA is used? |
I didn't mean fallback to 1FA mode, I meant fallback to using normal (not yubikey related) password for unlocking disk like with |
Hey I followed the installation instructions as close as possible, but I think I cant get the ykfde hook to work on boot. As far as I can see, the enroll step worked. ykfde-open check returned success.
I configured the
/etc/mkinitcpio.conf
accordingly and the hooks line reads:HOOKS=(base udev plymouth autodetect keyboard keymap consolefont modconf block ykfde plymouth-encrypt lvm2 filesystems fsck)
obviously I use plymouth. However I think #19 is implemented and available in the arch linux community package.I use btrfs on luks for my root partition and grub as boot manager. My grub setup uses cryptdevice to find the root partition:
When I try to decrypt my setup with the yubikey, to me it looks like, the ykfde hook is not working correctly, as when I add the passphrase for the challenge, the key is not flashing and thus it cant be used to generate the challenge response. Any suggestions how to debug this?
The text was updated successfully, but these errors were encountered: