You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't loop forever if fscrypt unlock doesn't have a tty
This fixes the bug in two places:
1. Don't retry passwords if stdin isn't a tty.
2. Notice and error out when no input is available when reading a passphrase. Technically this isn't necessary now that we're retrying, but it avoids needlessly spending time trying to unlock the protector.
This still retries empty passwords when interactive.
0 commit comments