cryptsetup: Treat key file errors as a failed password attempt
authorRyan Gonzalez <kirbyfan64@users.noreply.github.com>
Sat, 23 Feb 2019 05:45:03 +0000 (23:45 -0600)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 26 Feb 2019 01:48:07 +0000 (10:48 +0900)
commitc20db3887569e0c0d9c0e2845c5286e7edf0133a
treee7af9f936c48c33c85076cfba0481c1f1d614dce
parent510dc4da134cdee70a6206449ddb72506de57d81
cryptsetup: Treat key file errors as a failed password attempt

6f177c7dc092eb68762b4533d41b14244adb2a73 caused key file errors to immediately fail, which would make it hard to correct an issue due to e.g. a crypttab typo or a damaged key file.

Closes #11723.
src/cryptsetup/cryptsetup.c