Files
yubikey.rs/CHANGELOG.md
T
Tony Arcieri (iqlusion) 92f770805f yubikey v0.4.0 (#283)
2021-07-12 14:02:59 -07:00

6.7 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.

0.4.0 (2021-07-12)

Added

  • Result alias (#271)

Changed

  • Renamed crate from yubikey-piv => yubikey (#267)
  • Renamed the following:
    • APDU => Apdu (#269)
    • CCC => Ccc (#269)
    • CHUID => ChuId (#269)
    • Ccc::cccid => Ccc::card_id (#270)
    • key => piv (#277)
    • readers => reader (#278)
    • readers::Readers => reader::Context (#278)
  • Bumped the following dependencies:
    • rsa => v0.4 (#246)
    • des => v0.7 (#251)
    • elliptic-curve => v0.10 (#268)
    • hmac => v0.11 (#251)
    • pbkdf2 => v0.8 (#251)
    • p256 => v0.9 (#268)
    • p384 => v0.8 (#268)
  • MSRV 1.51+ (#268)
  • Flatten API (#274)
  • Replace getrandom with rand_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_manual methods (#224)

Changed

  • Have Transaction::set_mgm_key take touch requirement as bool (#224)

Removed

  • MgmKey::set method (#224)

yubikey-piv 0.2.0 (2021-01-30)

Changed

  • Bump der-parser to v5.0 (#194)
  • Improve self-signed certificates (#207)
  • Bump x509-parser to v0.9 (#208)
  • Bump elliptic-curve to 0.8. Also requires bumping p256 and p384 (#208)
  • Bump MSRV to 1.46+ (#208)
  • Bump pbkdf2 dependency 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 p256 to v0.5; p384 to v0.4; MSRV 1.44+ (#175)
  • Refactor key import function (#128)
  • Extract ChangeRefAction enum (#82)
  • TLV extraction (#73)
  • Rename container to mscmap (#68)
  • Finish eliminating consts module (#67)
  • Move sign/decrypt/import/attest to the key module (#62)

Fixed

  • pcsc::Error::NoReadersAvailable -> Error::NotFound in YubiKey::open* (#88)

Removed

  • YubiKey NEO support (#63)

yubikey-piv 0.0.3 (2019-12-02)

Added

  • Initial Readers enumerator for detecting YubiKeys (#51)
  • Certificate parsing (#45)

Changed

  • Use Reader to connect to YubiKey (#51)
  • Convert SlotId and AlgorithmId into enums (#44)
  • Use secrecy crate for storing CachedPin (#43)
  • Change CHUID struct to hold complete CHUID value (#42)
  • Eliminate all usages of unsafe (#37, #39)
  • Make anonymous CHUID struct public (#36)
  • Have sign_data and decrypt_data return a Buffer (#34)
  • Ins (APDU instruction codes) enum (#33)
  • Factor Response into apdu module; improved debugging (#32)

yubikey-piv 0.0.2 (2019-11-25)

Added

  • untested Cargo 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 pcsc crate (#17)
  • Rename ErrorKind to Error (#13)
  • Use des crate for 3DES operations (#10)
  • Replace PKCS5_PBKDF2_HMAC_SHA1 with pbkdf2 et al crates (#9)
  • Replace RAND_bytes with getrandom crate (#8)
  • Use log crate for logging (#7)
  • Replace ErrorKind::Ok with Result (#6)

yubikey-piv 0.0.1 (2019-11-18)

  • Initial release