|
|
|
@ -98,7 +98,7 @@ impl MPS {
|
|
|
|
|
if ps.len() > 32 { |
|
|
|
|
return Err(io::Error::new(io::ErrorKind::InvalidInput, "Passphrase must not be longer than 32 letters")); |
|
|
|
|
} |
|
|
|
|
print!("Reenter passphrase: "); |
|
|
|
|
print!("Enter same passphrase again: "); |
|
|
|
|
io::stdout().flush()?; |
|
|
|
|
let ps2 = rpassword::read_password()?; |
|
|
|
|
if ps != ps2 { |
|
|
|
|