Disconnect without resetting YubiKeys if it is safe to do so

This enables the PIN caches to be preserved across age-plugin-yubikey
processes, allowing PIN policies of "once" to become meaningful.
This commit is contained in:
Jack Grigg
2023-01-02 16:11:38 +00:00
parent 87541510ad
commit 9418921dab
5 changed files with 48 additions and 4 deletions
+2
View File
@@ -249,6 +249,8 @@ impl IdentityPluginV1 for IdentityPlugin {
}
}
}
conn.disconnect_without_reset();
}
Ok(file_keys)
}