Print message if YubiKey is waiting for touch

Closes str4d/age-plugin-yubikey#44.
This commit is contained in:
Jack Grigg
2021-12-19 00:22:38 +00:00
parent 51910edfab
commit e5bdffa5cc
3 changed files with 59 additions and 23 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ impl IdentityPluginV1 for IdentityPlugin {
}
for (stanza_index, line) in stanzas.iter().enumerate() {
match conn.unwrap_file_key(line) {
match conn.unwrap_file_key(line, &mut callbacks)? {
Ok(file_key) => {
// We've managed to decrypt this file!
file_keys.entry(file_index).or_insert(Ok(file_key));