-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
Steps to reproduce:
- Create a directory managed by fscrypt
- Run
fscrypt unlock DIR </dev/null
I expect that this exits with an error, because it's never going to get a password (ideally it would say that it's unable to read stdin). Instead, it loops forever until canceled:
Enter login passphrase for jyn: Incorrect Passphrase
Enter login passphrase for jyn: Incorrect Passphrase
Enter login passphrase for jyn: Incorrect Passphrase
Enter login passphrase for jyn: Incorrect Passphrase
...
This bit me originally because I put fscrypt unlock in /etc/ssh/sshrc, so it completely locked me out of my machine until I was able to get physical access to it.
Metadata
Metadata
Assignees
Labels
No labels