This commit is contained in:
@@ -153,7 +153,7 @@ impl PasswordHelper {
|
|||||||
.output()
|
.output()
|
||||||
.map_err(|e| Fido2LuksError::AskPassError { cause: e })?
|
.map_err(|e| Fido2LuksError::AskPassError { cause: e })?
|
||||||
.stdout;
|
.stdout;
|
||||||
Ok(String::from_utf8(password)?)
|
Ok(String::from_utf8(password)?.trim().to_owned())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user