From 13f669f6c9d93f2cdff5e2752c172af7292eb833 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sun, 25 Oct 2026 11:42:37 -0600 Subject: [PATCH] der v0.8.3 --- Cargo.lock | 2 +- der/CHANGELOG.md | 32 +++++++++++++++++++++++++++++++- der/Cargo.toml | 2 +- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 536799e19..df3cf73db 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -477,7 +477,7 @@ dependencies = [ [[package]] name = "der" -version = "0.8.2" +version = "0.8.3" dependencies = [ "arbitrary", "bytes", diff --git a/der/CHANGELOG.md b/der/CHANGELOG.md index 6d8a7dcfb..23631a6c2 100644 --- a/der/CHANGELOG.md +++ b/der/CHANGELOG.md @@ -4,6 +4,36 @@ 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.8.3 (2026-10-25) +### Added +- `AsBitStringRef` trait ([#2418]) + +### Fixed +- Off-by-one error in max nested message check ([#2424]) +- Input validation in `SetOfRef` ([#2431]) +- Require a `SEQUENCE` in `Document::decode` ([#2442]) +- Order `SET OF` components by their encoded octets ([#2447]) +- Order `UTCTime` in `SET OF` by its encoding ([#2448]) +- `Option::der_cmp(None, None)` now returns `Equal` ([#2449]) +- Infinite recursion in `ValueOrd` for `ContextSpecific` ([#2450]) +- Order `FlagSet` by its `BIT STRING` encoding ([#2451]) +- Avoid panic on truncated binary `REAL` values ([#2483]) +- Stack overflow decoding nested BER indefinite lengths ([#2490]) +- Recursion in `TryFrom>` impl for `bool` ([#2491]) + +[#2418]: https://github.com/RustCrypto/formats/pull/2418 +[#2424]: https://github.com/RustCrypto/formats/pull/2424 +[#2431]: https://github.com/RustCrypto/formats/pull/2431 +[#2442]: https://github.com/RustCrypto/formats/pull/2442 +[#2447]: https://github.com/RustCrypto/formats/pull/2447 +[#2448]: https://github.com/RustCrypto/formats/pull/2448 +[#2449]: https://github.com/RustCrypto/formats/pull/2449 +[#2450]: https://github.com/RustCrypto/formats/pull/2450 +[#2451]: https://github.com/RustCrypto/formats/pull/2451 +[#2483]: https://github.com/RustCrypto/formats/pull/2483 +[#2490]: https://github.com/RustCrypto/formats/pull/2490 +[#2491]: https://github.com/RustCrypto/formats/pull/2491 + ## 0.8.2 (2026-09-05) ### Added - `AsIntRef` and `AsUintRef` traits ([#2415]) @@ -26,7 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - `SET OF` is not supposed to disallow duplicates ([#2272]) -[#2247]: https://github.com/RustCrypto/formats/pull/2247 +[#2247]: https://github.com/RustCrypto/for dwqmats/pull/2247 [#2272]: https://github.com/RustCrypto/formats/pull/2272 [#2276]: https://github.com/RustCrypto/formats/pull/2276 [#2345]: https://github.com/RustCrypto/formats/pull/2345 diff --git a/der/Cargo.toml b/der/Cargo.toml index d28b729f7..c264f5e30 100644 --- a/der/Cargo.toml +++ b/der/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "der" -version = "0.8.2" +version = "0.8.3" description = """ Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690 with