trim password
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2019-09-18 01:15:52 +02:00
parent 2a869eafe7
commit 814761565d

View File

@@ -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())
} }
} }
} }