Reader::open now returns Error::AppletNotFound instead of Error::Generic if the PIV applet is not present on the device. This is returned by non-PIV virtual smart cards like Windows Hello for Business, as well as some smart card readers when no card is present.
Reader::open now avoids resetting the card if an error occurs (equivalent to calling YubiKey::disconnect(pcsc::Disposition::LeaveCard) if Reader::open succeeds).
Raise minimum pcsc version to 2.3.1 and remove workaround (#478)
StatusWords::code now returns the correct code (including embedded tries
count) for StatusWords::VerifyFailError. Previously the returned code lost
information and was not round-trip compatible with StatusWords::from(u16).
Added
impl Debug for {Context, YubiKey}
(#457)YubiKey::disconnect
(#462)Error::AppletNotFound
(#476)Changed
Reader::open
now returnsError::AppletNotFound
instead ofError::Generic
if the PIV applet is not present on the device. This is returned by non-PIV virtual smart cards like Windows Hello for Business, as well as some smart card readers when no card is present.Reader::open
now avoids resetting the card if an error occurs (equivalent to callingYubiKey::disconnect(pcsc::Disposition::LeaveCard)
ifReader::open
succeeds).pcsc
version to 2.3.1 and remove workaround (#478)elliptic-curve
v0.13k256
v0.13p256
v0.13p384
v0.13pbkdf2
v0.12rsa
v0.9 (#502)signature
v2x509-cert
certificate builder (#495)RsaKeyData::new
fallible (#517)Fixed
StatusWords::code
now returns the correct code (including embeddedtries
count) forStatusWords::VerifyFailError
. Previously the returned code lost information and was not round-trip compatible withStatusWords::from(u16)
.YubiKey::open()
more robust (#504)