Skip to content

chore(crypto): Release 0.4.0 of ic-pub-key - #11934

Merged
eichhorl merged 1 commit into
masterfrom
eichhorl/release-ic-pub-key-0.4.0
Oct 23, 2026
Merged

eichhorl merged 1 commit into
masterfrom
eichhorl/release-ic-pub-key-0.4.0

Conversation

@eichhorl

Copy link
Copy Markdown
Contributor

Prepare release 0.4.0 of ic-pub-key, like #8599 did for 0.3.0. The version changes in Cargo.toml, BUILD.bazel and Cargo.lock, and the changelog's [Unreleased] section becomes [0.4.0] - 2026-10-23.

This PR is stacked on #11894, which adds the secp256r1 support this release ships. Until #11894 merges, this branch includes it, so the diff also shows its changes. This PR's own change is the last commit.

It's 0.4.0 rather than 0.3.1 because the types ic-pub-key re-exports from ic-management-canister-types change (0.5.0 → 0.11.0), which is a breaking change.

cargo publish --package ic-pub-key --dry-run passes. It builds the packaged crate against the published ic-secp256k1 0.3.0, ic-secp256r1 0.3.0 and ic-ed25519 0.6.0. After this merges, the publish-crates.yml workflow can publish it with crate-name: ic-pub-key and crate-version: 0.4.0.

🤖 Generated with Claude Code

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The stacked cryptographic derivation changes and breaking public-type update warrant final human validation despite no identified blocking defects.

No open issues 🎉

What changed in this PR

Prepares ic-pub-key 0.4.0 for publication, including the stacked secp256r1 support from #11894. The minor-version bump accounts for breaking changes to re-exported management-canister types.

Changes:

  • Updates release versions and finalizes the 0.4.0 changelog.
  • Adds default-enabled secp256r1 derivation and shares serialization and chain-code handling.
  • Documents feature selection and expands ECDSA tests with known-answer vectors, chain codes, and unknown-key rejection.
File Description
packages/​ic-pub-key/​tests/​tests.rs Adds secp256r1 vectors and strengthens ECDSA assertions.
packages/​ic-pub-key/​src/​lib.rs Implements secp256r1 support and shared key encoding helpers.
packages/​ic-pub-key/​README.md Documents default features and selective builds.
packages/​ic-pub-key/​CHANGELOG.md Finalizes release notes for 0.4.0.
packages/​ic-pub-key/​Cargo.toml Bumps the version and adds the secp256r1 feature and dependency.
packages/​ic-pub-key/​BUILD.bazel Aligns release metadata and feature settings across Bazel targets.
Cargo.lock Records version 0.4.0 and the secp256r1 dependency.

Review effort: Balanced

@eichhorl eichhorl changed the title chore(crypto): Prepare for the 0.4.0 release of ic-pub-key chore(crypto): Release 0.4.0 of ic-pub-key Oct 23, 2026
@eichhorl
eichhorl changed the base branch from master to eichhorl/ic-pub-key-secp256r1 October 23, 2026 14:45
@eichhorl
eichhorl added this pull request to stack #11902 October 23, 2026 14:45
@eichhorl
eichhorl marked this pull request as ready for review October 23, 2026 14:46
@eichhorl
eichhorl requested a review from a team as a code owner October 23, 2026 14:46
Base automatically changed from eichhorl/ic-pub-key-secp256r1 to master October 23, 2026 16:46
Bump the version in Cargo.toml, BUILD.bazel and Cargo.lock, and turn the
changelog's Unreleased section into 0.4.0, like #8599 did for 0.3.0.
0.4.0 because the re-exported ic-management-canister-types types changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@eichhorl
eichhorl force-pushed the eichhorl/release-ic-pub-key-0.4.0 branch from aa42ca6 to 8a0124c Compare October 23, 2026 16:47
@eichhorl
eichhorl added this pull request to the merge queue Oct 23, 2026
Merged via the queue into master with commit 6f56e57 Oct 23, 2026
38 checks passed
@eichhorl
eichhorl deleted the eichhorl/release-ic-pub-key-0.4.0 branch October 23, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants