agherzan / yubikey-full-disk-encryption

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

Silent fail after timeout #68

Open dramm33 opened 3 years ago

dramm33 commented 3 years ago

First of all, great software!

I'm using 1FA on a non-root partition, with TRIALS and TIMEOUT set to 1. If the YubiKey is disconnected, it falls back to asking a password. If I don't want to mount the partition, I need to press ENTER to skip.

Is there a way to auto-skip, set a timeout or disable the fallback?

Thanks!

PS: Is not the fallback to the encrypt hook as suggested in the README, I don't have it enable.

Vincent43 commented 3 years ago

Hi, currently there is no option for auto-skip unlock. I think It was generally assumed that the root partition is locked so unlocking it isn't optional which isn't the case for you but for now there may be no workaround.