cryptsetup: add keyfile-timeout to allow a keydev timeout and allow to fallback to a password if it fails.
This commit is contained in:
@@ -81,7 +81,10 @@ static int parse_one_option(const char *option) {
|
||||
assert(option);
|
||||
|
||||
/* Handled outside of this tool */
|
||||
if (STR_IN_SET(option, "noauto", "auto", "nofail", "fail", "_netdev"))
|
||||
if (STR_IN_SET(option, "noauto", "auto", "nofail", "fail", "_netdev", "keyfile-timeout"))
|
||||
return 0;
|
||||
|
||||
if (startswith(option, "keyfile-timeout="))
|
||||
return 0;
|
||||
|
||||
if ((val = startswith(option, "cipher="))) {
|
||||
|
||||
Reference in New Issue
Block a user