Don't include a message when calling password::prompt_to_unlock.
- `password::prompt_to_unlock` takes a description of the item to unlock, not a full password prompt. - Fix the prompts.
This commit is contained in:
parent
79443e5e1a
commit
3de408df3f
@ -144,8 +144,7 @@ pub fn password(sq: Sq,
|
||||
|
||||
loop {
|
||||
let p = password::prompt_to_unlock(&format!(
|
||||
"Please enter the password to decrypt \
|
||||
the key {}/{}, {}",
|
||||
"{}/{}, {}",
|
||||
cert.keyid(), ka.keyid(), uid))?;
|
||||
|
||||
match key.unlock(p.clone()) {
|
||||
|
Loading…
Reference in New Issue
Block a user