go-piv / piv-go

Keys and certificates for YubiKeys, written in Go
Apache License 2.0
368 stars 65 forks source link

piv: mark PC/SC connection as exclusive #51

Closed ericchiang closed 4 years ago

ericchiang commented 4 years ago

Since this package holds onto a transaction, ensure other calls to Open exit immediately instead of hanging.

Updates #45 Updates #47

ericchiang commented 4 years ago

Going to merge this for now since the YubiKey does require an exclusive transaction. If we figure out how to address #47, we can move it back to shared.