Skip to content

Integrate hpke-rs in workspace#1505

Merged
jschneider-bensch merged 386 commits into
mainfrom
jonas/integrate-hpke-rs
Jul 9, 2026
Merged

Integrate hpke-rs in workspace#1505
jschneider-bensch merged 386 commits into
mainfrom
jonas/integrate-hpke-rs

Conversation

@jschneider-bensch

@jschneider-bensch jschneider-bensch commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

This PR pulls hpke-rs into the libcrux workspace under crates/protocols/hpke. It should preserve the git history of hpke-rs, while the version tags have been renamed to include an hpke-rs- prefix (e.g. v0.6.0 in the original repo is renamed to hpke-rs-v0.0.6 here).

I also moved CI workflows and updated their default working directories. I'm not sure I fixed up all things in the coverage and GH pages setups already though, so I've disabled those workflows for now.

[skip changelog]

franziskuskiefer and others added 30 commits November 19, 2023 10:32
the traits used here are rand_core re-exports
there does not seem to be a need for interior mutability

the HpkeRustCrypto is already Send and Sync (provided that the
deterministic-prng feature is disabled) so RwLock is not adding much
value
the traits / types used here are rand_core re-exports
some of these default feature sets pull a dependency on libstd
hpks-rs-crypto: simplify Cargo.toml
this dep enables the "js" Cargo feature but that should not be done in
libraries
in preparation for no-std support
hpke-rs-crypto: make serde opt-in
in preparation for no-std support
Comment thread Cargo.toml
@jschneider-bensch
jschneider-bensch marked this pull request as ready for review July 8, 2026 12:10
@franziskuskiefer

Copy link
Copy Markdown
Contributor

Thanks! I'll do a full pass on this later. I opened celabshq/hpke-rs#165 to track the move and make sure everything goes smoothly.

@franziskuskiefer franziskuskiefer 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.

Thanks, I think this generlaly looks good. Just a few small things.

I didn't look at details of the code and expect it to just being moved.

Let's track the gh pages and coverage (and other follow ups) on an issue to see what to do about them.

Comment thread crates/protocols/hpke/libcrux_provider/Readme.md Outdated
Comment thread Cargo.toml
Comment thread crates/protocols/hpke/rust_crypto_provider/Readme.md
Comment thread CHANGELOG.md Outdated
Comment thread .github/workflows/hpke-rust.yml Outdated
Comment thread .github/workflows/hpke-rust.yml Outdated
Comment thread .github/workflows/hpke-rust.yml Outdated

@franziskuskiefer franziskuskiefer 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.

Thanks, let's get this in and update the hpke-rs issue to redirect everything here.

@jschneider-bensch
jschneider-bensch added this pull request to the merge queue Jul 9, 2026
Merged via the queue into main with commit 59d428e Jul 9, 2026
124 checks passed
@jschneider-bensch
jschneider-bensch deleted the jonas/integrate-hpke-rs branch July 9, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.