Skip to content

refactor: extract crypto helpers into a seismic-enclave-crypto crate#201

Merged
samlaf merged 3 commits into
seismicfrom
extract-enclave-crypto-crate
Jul 7, 2026
Merged

refactor: extract crypto helpers into a seismic-enclave-crypto crate#201
samlaf merged 3 commits into
seismicfrom
extract-enclave-crypto-crate

Conversation

@samlaf

@samlaf samlaf commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Move crates/enclave/src/crypto.rs verbatim into its own crate so key-custody code can use the AES/ECDH/HKDF helpers without pulling in seismic-enclave's JSON-RPC surface. seismic-enclave re-exports the new crate, so existing users (seismic-reth) keep their import paths unchanged.

samlaf added 2 commits July 8, 2026 00:28
Move crates/enclave/src/crypto.rs verbatim into its own crate so key-custody
code can use the AES/ECDH/HKDF helpers without pulling in seismic-enclave's
JSON-RPC surface. seismic-enclave re-exports the new crate, so existing
users (seismic-reth) keep their import paths unchanged.
…te split

Since the seismic-network-manifest split (#200), this crate re-exports the
manifest schema and NetworkId derivation rather than implementing them; the
README still described the pre-split responsibility.
@samlaf samlaf requested a review from cdrappi as a code owner July 7, 2026 16:34
@samlaf samlaf merged commit b145526 into seismic Jul 7, 2026
@samlaf samlaf deleted the extract-enclave-crypto-crate branch July 7, 2026 16:43
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.

1 participant