Stop scdaemon if it is holding exclusive access to a YubiKey

Closes str4d/age-plugin-yubikey#82.
This commit is contained in:
Jack Grigg
2022-12-30 08:13:07 +00:00
parent 5d6b618d5f
commit 15c53e42df
5 changed files with 189 additions and 10 deletions
+6
View File
@@ -7,6 +7,12 @@ and this project adheres to Rust's notion of
to 0.3.0 are beta releases.
## [Unreleased]
### Changed
- If a "sharing violation" error is encountered while opening a connection to a
YubiKey, and `scdaemon` is running (which can hold exclusive access to a
YubiKey indefinitely), `age-plugin-yubikey` now attempts to stop `scdaemon` by
interrupting it (or killing it on Windows), and then tries again to open the
connection.
## [0.3.0] - 2022-05-02
First non-beta release!