diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ac129ad..fabd492 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -21,6 +21,13 @@ jobs: with: components: rustfmt, clippy + - name: Pin pkcs1 to 0.8.0-rc.4 + # sad-rsa 0.2.3 (pulled in through multi-key) fails to compile against + # pkcs1 0.8.0-rc.5, which added a type parameter to RsaPublicKey. + # Pin the last working pkcs1 pre-release until sad-rsa ships a release + # compatible with it, then remove this step. + run: cargo update -p pkcs1 --precise 0.8.0-rc.4 + - name: Check Code Format run: cargo fmt --all -- --check @@ -43,6 +50,12 @@ jobs: - name: Install Rust Toolchain (1.96) uses: dtolnay/rust-toolchain@1.96.0 + - name: Pin pkcs1 to 0.8.0-rc.4 + # Same mitigation as in the build job: sad-rsa 0.2.3 fails to compile + # against pkcs1 0.8.0-rc.5. Remove this step when sad-rsa ships a + # compatible release. + run: cargo update -p pkcs1 --precise 0.8.0-rc.4 + - name: Check run: cargo check --all-features @@ -58,6 +71,12 @@ jobs: with: components: llvm-tools-preview + - name: Pin pkcs1 to 0.8.0-rc.4 + # Same mitigation as in the build job: sad-rsa 0.2.3 fails to compile + # against pkcs1 0.8.0-rc.5. Remove this step when sad-rsa ships a + # compatible release. + run: cargo update -p pkcs1 --precise 0.8.0-rc.4 + - name: Install cargo-llvm-cov run: cargo install cargo-llvm-cov diff --git a/CHANGELOG.md b/CHANGELOG.md index c2b4395..458ff18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.2.2] - 2026-10-06 + +### Changed + +- Updated dependencies: `multi-codec` 1.3 → 1.5, `multi-key` 1.2 → 2.0, `multi-sig` 1.3 → 1.4. No public API changes. + ## [0.2.0] - 2026-09-01 ### Added @@ -84,6 +90,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - The `multi-base`, `multi-codec`, `multi-key`, `multi-sig`, `multi-trait`, and `multi-util` dependencies use the published crates.io versions. `multi-vlad` does not declare `multi-hash` as a dependency; it appears transitively via `multi-key`. +[0.2.2]: https://github.com/cryptidtech/multi-vlad/compare/v0.2.0...v0.2.2 [0.2.0]: https://github.com/cryptidtech/multi-vlad/compare/v0.1.2...v0.2.0 [0.1.2]: https://github.com/cryptidtech/multi-vlad/releases/tag/v0.1.2 [0.1.1]: https://github.com/cryptidtech/multi-vlad/releases/tag/v0.1.1 diff --git a/Cargo.toml b/Cargo.toml index 4d719b1..00c284c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "multi-vlad" -version = "0.2.1" +version = "0.2.2" edition = "2021" rust-version = "1.96" authors = ["Dave Grantham "] @@ -19,9 +19,9 @@ xmss = ["multi-key/xmss"] [dependencies] multi-base = { version = "1.0", default-features = false } multi-cbor = { version = "0.1", optional = true } -multi-codec = "1.3" -multi-key = "1.2" -multi-sig = "1.3" +multi-codec = "1.5" +multi-key = "2.0" +multi-sig = "1.4" multi-trait = { version = "1.0", default-features = false } multi-util = "1.1" thiserror = "2.0" diff --git a/src/vlad.rs b/src/vlad.rs index a28295f..03938f3 100644 --- a/src/vlad.rs +++ b/src/vlad.rs @@ -463,7 +463,7 @@ mod tests { .unwrap(); // inner multisig should be combined (non-empty message) - assert!(!vlad.multisig().message.is_empty()); + assert_ne!(vlad.multisig().message, Vec::::new()); } #[test]