yubikey v0.8.0 (#518)

This commit is contained in:
Tony Arcieri (iqlusion)
2023-08-15 18:29:22 -07:00
committed by GitHub
parent 45915e5e5a
commit ee3702a65e
4 changed files with 33 additions and 9 deletions
+28 -4
View File
@@ -4,11 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
## 0.8.0 (2023-08-15)
### Added
- `YubiKey::disconnect`
- `impl Debug for {Context, YubiKey}`
- `Error::AppletNotFound`
- `impl Debug for {Context, YubiKey}` ([#457])
- `YubiKey::disconnect` ([#462])
- `Error::AppletNotFound` ([#476])
### Changed
- `Reader::open` now returns `Error::AppletNotFound` instead of `Error::Generic`
@@ -18,11 +18,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `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])
- Bump asymmetric crypto dependencies; MSRV 1.65 ([#490])
- `elliptic-curve` v0.13
- `k256` v0.13
- `p256` v0.13
- `p384` v0.13
- `pbkdf2` v0.12
- `rsa` v0.9 ([#502])
- `signature` v2
- Use `x509-cert` certificate builder ([#495])
- Make `RsaKeyData::new` fallible ([#517])
### Fixed
- `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)`.
- Parsing of serial numbers ([#466])
- Make `YubiKey::open()` more robust ([#504])
[#457]: https://github.com/iqlusioninc/yubikey.rs/pull/457
[#462]: https://github.com/iqlusioninc/yubikey.rs/pull/462
[#466]: https://github.com/iqlusioninc/yubikey.rs/pull/466
[#476]: https://github.com/iqlusioninc/yubikey.rs/pull/476
[#478]: https://github.com/iqlusioninc/yubikey.rs/pull/478
[#490]: https://github.com/iqlusioninc/yubikey.rs/pull/490
[#495]: https://github.com/iqlusioninc/yubikey.rs/pull/495
[#502]: https://github.com/iqlusioninc/yubikey.rs/pull/502
[#504]: https://github.com/iqlusioninc/yubikey.rs/pull/504
[#517]: https://github.com/iqlusioninc/yubikey.rs/pull/517
## 0.7.0 (2022-11-14)
### Added
Generated
+2 -2
View File
@@ -1036,7 +1036,7 @@ dependencies = [
[[package]]
name = "yubikey"
version = "0.8.0-pre.0"
version = "0.8.0"
dependencies = [
"base16ct",
"der",
@@ -1069,7 +1069,7 @@ dependencies = [
[[package]]
name = "yubikey-cli"
version = "0.7.0"
version = "0.8.0-pre"
dependencies = [
"base16ct",
"clap",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "yubikey"
version = "0.8.0-pre.0"
version = "0.8.0"
description = """
Pure Rust cross-platform host-side driver for YubiKey devices from Yubico with
support for hardware-backed public-key decryption and digital signatures using
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "yubikey-cli"
version = "0.7.0"
version = "0.8.0-pre"
description = """
Command-line interface for performing encryption and signing using RSA/ECC keys
stored on YubiKey devices.
@@ -23,4 +23,4 @@ once_cell = "1"
sha2 = "0.10"
termcolor = "1"
x509-cert.workspace = true
yubikey = { version = "0.8.0-pre.0", path = ".." }
yubikey = { version = "0.8", path = ".." }