yubikey-luks icon indicating copy to clipboard operation
yubikey-luks copied to clipboard

Fallback password input if fail from yubikey

Open wzssyqa opened this issue 1 year ago • 1 comments

If we tried 3 times, and our yubikey has no response, let's fallback to password input.

If yubikey repsoned, while we cannot decrypt our disk with this response, let's ask for new password directly.

Background: I have 2 yubikey, and one is set to 1FA and another is set to 2FA. I wish that when the 1FA one can just work if I plug it in, and password is asked if I plug the 2FA one in instead.

wzssyqa avatar Dec 04 '23 04:12 wzssyqa

Use /run instead of /tmp, since the env of cryptsetup-suspend has /run only.

wzssyqa avatar Dec 04 '23 09:12 wzssyqa