32cd92af50
This is required due to the `hybrid-array` crate, which has become a transitive dependency of the majority of our dependencies and will be required in the very near future.
11 KiB
11 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
Changed
- MSRV is now 1.81.
0.8.0 (2023-08-15)
Added
Changed
Reader::opennow returnsError::AppletNotFoundinstead ofError::Genericif 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::opennow avoids resetting the card if an error occurs (equivalent to callingYubiKey::disconnect(pcsc::Disposition::LeaveCard)ifReader::opensucceeds).- Raise minimum
pcscversion to 2.3.1 and remove workaround (#478) - Bump asymmetric crypto dependencies; MSRV 1.65 (#490)
elliptic-curvev0.13k256v0.13p256v0.13p384v0.13pbkdf2v0.12rsav0.9 (#502)signaturev2
- Use
x509-certcertificate builder (#495) - Make
RsaKeyData::newfallible (#517)
Fixed
StatusWords::codenow returns the correct code (including embeddedtriescount) forStatusWords::VerifyFailError. Previously the returned code lost information and was not round-trip compatible withStatusWords::from(u16).- Parsing of serial numbers (#466)
- Make
YubiKey::open()more robust (#504)
0.7.0 (2022-11-14)
Added
- Display inner PC/SC errors (#420)
- Support for metadata command (#371)
- Better
certificate::Serialinspection (#437)
Changed
- MSRV 1.60.0 (#423)
- Bump
rsato v0.7.1 (#440) - Switch from
lazy_statictoonce_cell(#442) - Switch from
subtle-encodingtobase16ct(#443)
Fixed
0.6.0 (2022-08-10)
Changed
- 2021 edition upgrade (#343)
- RustCrypto crate upgrades; MSRV 1.57 (#378)
desv0.8elliptic-curvev0.12hmacv0.12num-bigint-digv0.8pbkdf2v0.11p256v0.11p384v0.11rsav0.6sha1v0.10 (replacingsha-1)sha2v0.10
- Bump
uuidto v1.0 (#376) - Bump
der-parserto v8.0 (#402) - Bump
x509-parserto v0.14 (#402)
0.5.0 (2021-11-21)
Changed
- Update
rsadependency to 0.5 (#315) - Update
pbkdf2dependency to 0.9 (#315) - Update
x509-parserdependency to 0.12 (#315, #322) - Update
nomto v7.0 (#322)
0.4.2 (2021-07-13)
Added
- Make
yubikey::Buffera pub type (#290)
Changed
- Have
YubiKey::block_puktake&mut selfas argument (#289)
0.4.1 (2021-07-12)
Changed
0.4.0 (2021-07-12) [YANKED]
Added
Resultalias (#271)
Changed
- Renamed crate from
yubikey-piv=>yubikey(#267) - Renamed the following:
- Bumped the following dependencies:
- MSRV 1.51+ (#268)
- Flatten API (#274)
- Replace
getrandomwithrand_core(#276)
Fixed
- Potential local DoS in TLV parser (#279)
yubikey-piv 0.3.0 (2021-03-22)
Added
- Typed structs for PIN-protected and admin metadata (#223)
MgmKey::set_default/MgmKey::set_manualmethods (#224)
Changed
- Have
Transaction::set_mgm_keytake touch requirement as bool (#224)
Removed
MgmKey::setmethod (#224)
yubikey-piv 0.2.0 (2021-01-30)
Changed
- Bump
der-parserto v5.0 (#194) - Improve self-signed certificates (#207)
- Bump
x509-parserto v0.9 (#208) - Bump elliptic-curve to 0.8. Also requires bumping p256 and p384 (#208)
- Bump MSRV to 1.46+ (#208)
- Bump
pbkdf2dependency to v0.7 (#219)
yubikey-piv 0.1.0 (2020-10-19)
Added
Certificate::generate_self_signed(#80)YubiKey::open_by_serial(#69)- CCCID/CHUID tests and cleanups (#65)
- Test
Config::get(#64) - Test
Key::list(#61) - Test
YubiKey::verify_pin(#60)
Changed
- Bump
crypto-mac,des,hmac,pbkdf2(#177) - Bump
p256to v0.5;p384to v0.4; MSRV 1.44+ (#175) - Refactor key import function (#128)
- Extract
ChangeRefActionenum (#82) - TLV extraction (#73)
- Rename
containertomscmap(#68) - Finish eliminating
constsmodule (#67) - Move
sign/decrypt/import/attestto thekeymodule (#62)
Fixed
pcsc::Error::NoReadersAvailable->Error::NotFoundinYubiKey::open*(#88)
Removed
- YubiKey NEO support (#63)
yubikey-piv 0.0.3 (2019-12-02)
Added
Changed
- Use
Readerto connect toYubiKey(#51) - Convert
SlotIdandAlgorithmIdinto enums (#44) - Use
secrecycrate for storingCachedPin(#43) - Change
CHUIDstruct to hold complete CHUID value (#42) - Eliminate all usages of
unsafe(#37, #39) - Make anonymous CHUID struct public (#36)
- Have
sign_dataanddecrypt_datareturn aBuffer(#34) Ins(APDU instruction codes) enum (#33)- Factor
Responseintoapdumodule; improved debugging (#32)
yubikey-piv 0.0.2 (2019-11-25)
Added
untestedCargo feature to mark untested functionality (#30)- Initial connect test and docs (#19)
- Clean up APDU construction with builder API (#15)
Changed
- Rewrite translated code to use the
pcsccrate (#17) - Rename ErrorKind to Error (#13)
- Use
descrate for 3DES operations (#10) - Replace
PKCS5_PBKDF2_HMAC_SHA1withpbkdf2et al crates (#9) - Replace
RAND_byteswithgetrandomcrate (#8) - Use
logcrate for logging (#7) - Replace
ErrorKind::OkwithResult(#6)
yubikey-piv 0.0.1 (2019-11-18)
- Initial release