Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return errors from
YubiKey::open_by_serial
that indicate a key may …
…exist (iqlusioninc#477) * Return errors from `YubiKey::open_by_serial` that indicate a key may exist The only such error at the moment is `pcsc::Error::SharingViolation`, which indicates a transient failure to access a specific reader that could have been the one we needed (and so a future retry might succeed). Closes iqlusioninc#458. * Avoid resetting unused devices in YubiKey::open_by_serial We only connect to readers so that we can determine their serial. We now try to ensure that the order in which we connect to them doesn't have an effect on their state after we are done.
- Loading branch information