diff --git a/Cargo.lock b/Cargo.lock index dbc86b850..3d08c8da8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1048,7 +1048,7 @@ dependencies = [ [[package]] name = "pkcs8" -version = "0.11.0-rc.12" +version = "0.11.0" dependencies = [ "ctutils", "der", diff --git a/pkcs12/Cargo.toml b/pkcs12/Cargo.toml index c86fbff62..5970f78f8 100644 --- a/pkcs12/Cargo.toml +++ b/pkcs12/Cargo.toml @@ -29,7 +29,7 @@ zeroize = { version = "1.8.1", optional = true, default-features = false } [dev-dependencies] hex-literal = "1" pkcs5 = { version = "0.8", features = ["pbes2", "3des"] } -pkcs8 = { version = "0.11.0-rc.10", features = ["pkcs5"] } +pkcs8 = { version = "0.11", features = ["pkcs5"] } sha2 = "0.11" whirlpool = "0.11" diff --git a/pkcs8/CHANGELOG.md b/pkcs8/CHANGELOG.md index 67e7e5759..561db13b3 100644 --- a/pkcs8/CHANGELOG.md +++ b/pkcs8/CHANGELOG.md @@ -4,17 +4,28 @@ 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). -## 0.11.0 (UNRELEASED) +## 0.11.0 (2026-04-27) +### Added +- Custom error types support to the `Decode` and `DecodeValue` traits ([#1055]) +- `PrivateKeyInfoRef` / `PrivateKeyInfoOwned` type aliases ([#1483]) +- Implement `core::error::Error` trait for `Error` ([#2302]) +- Implement `Decode`/`EncodePrivateKey` trait for `PrivateKeyInfoOwned` ([#2306]) +- `KeyError` enum ([#2305]) +- `ctutils` feature ([#2308]) +- `getrandom` feature ([#2311]) ### Changed -- eagerly decode PEM labels ([#1163]) -- use `pbes2::Parameters::recommended` ([#1430]) +- Eagerly decode PEM labels for better error messages ([#1163]) +- Use `pbes2::Parameters::generate_recommended` ([#1430], [#2296]) +- Make `PrivateKeyInfo` generic around its backing storage ([#1483]) - Bump `rand_core` to `0.9` ([#1658]) -- Use 2024 edition, bump MSRV to 1.85 ([#1670]) +- Use 2024 edition; bump MSRV to 1.85 ([#1670]) +- Bump `rand_core` to v0.10 ([#2198]) +- `Error::KeyMalformed` now wraps an inner `KeyError` for providing more detail ([#2305]) +- Use `TryCryptoRng` instead of `CryptoRng` ([#2309]) -### Added -- custom error types support to the Decode and DecodeValue traits. ([#1055]) -- PrivateKeyInfoRef/PrivateKeyInfoOwned ([#1483]) +### Removed +- `subtle` feature ([#2308]) [#1055]: https://github.com/RustCrypto/formats/pull/1055 [#1163]: https://github.com/RustCrypto/formats/pull/1163 @@ -22,6 +33,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#1483]: https://github.com/RustCrypto/formats/pull/1483 [#1658]: https://github.com/RustCrypto/formats/pull/1658 [#1670]: https://github.com/RustCrypto/formats/pull/1670 +[#2198]: https://github.com/RustCrypto/formats/pull/2198 +[#2296]: https://github.com/RustCrypto/formats/pull/2296 +[#2302]: https://github.com/RustCrypto/formats/pull/2302 +[#2305]: https://github.com/RustCrypto/formats/pull/2305 +[#2306]: https://github.com/RustCrypto/formats/pull/2306 +[#2308]: https://github.com/RustCrypto/formats/pull/2308 +[#2309]: https://github.com/RustCrypto/formats/pull/2309 +[#2311]: https://github.com/RustCrypto/formats/pull/2311 ## 0.10.2 (2023-04-04) ### Changed diff --git a/pkcs8/Cargo.toml b/pkcs8/Cargo.toml index 81d6f7cd6..e5de26da0 100644 --- a/pkcs8/Cargo.toml +++ b/pkcs8/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pkcs8" -version = "0.11.0-rc.12" +version = "0.11.0" description = """ Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #8: Private-Key Information Syntax Specification (RFC 5208), with additional diff --git a/pkcs8/LICENSE-MIT b/pkcs8/LICENSE-MIT index 0cd648f76..b135e18de 100644 --- a/pkcs8/LICENSE-MIT +++ b/pkcs8/LICENSE-MIT @@ -1,4 +1,4 @@ -Copyright (c) 2020-2025 The RustCrypto Project Developers +Copyright (c) 2020-2026 The RustCrypto Project Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated