Skip to content

release: publish 0.3.1 with bits() security fix and other post-0.3.0 changes to crates.io #32

@dobby-coder

Description

@dobby-coder

Problem

The latest published version on crates.io is 0.3.0 (uploaded 2023-03-16). Multiple commits have landed on main since, including a security fix that is not available to downstream users of the crate from crates.io.

Most notably:

Other unreleased changes on main:

  • 12ee537 — test: realistic-identity collision tests for KV1 and Waters
  • 2d4b3a8 — chore: bump criterion to 0.8
  • 95a4fed — docs: drop AI-slop tells from README and mkem doc comment
  • c4842f3 — ci: bump actions/checkout to v4 and add clippy lint job
  • e1a8ea9 — chore: clean up clippy warnings
  • bc1a0cc / 23bb1be — fix README references to src/ibe
  • f711982 — fix(ci): replace deprecated wasm32-wasi with wasm32-wasip1

CHANGELOG.md also stops at the 0.3.0 entry and no v0.3.x git tags exist in this repo.

What to do

  1. Decide the next version. The security fix is non-breaking API-wise but changes the identity-derivation output for KV1/Waters users (existing USKs become incompatible), which is arguably breaking for those two schemes — 0.4.0 may be more honest than 0.3.1. CGWKV/CGWFO/CGW/Boyen-Waters/Waters-Naccache users are unaffected.
  2. Add a ## 0.3.1 (or 0.4.0) section to CHANGELOG.md summarising the changes above, with a clear callout that KV1 and Waters identity derivation has changed and previously-issued USKs for those schemes will no longer decrypt.
  3. Bump version in Cargo.toml.
  4. Tag the release (vX.Y.Z) and run cargo publish.

Why this matters

The security fix has been on main since #12 was closed but is not yet reaching crates.io users. Anyone consuming ibe = "0.3" from crates.io with the kv1 or waters features today still has the identity-collapse bug.

Out of scope

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsecuritySecurity-related issue (vulnerability, hardening, or risk)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions