Skip to content

feat: wire-mesh-core dependency bump and IdentityPort adapter - #56

Merged
Mearman merged 2 commits into
mainfrom
feat/p2-wire-mesh-transport
Sep 11, 2026
Merged

feat: wire-mesh-core dependency bump and IdentityPort adapter#56
Mearman merged 2 commits into
mainfrom
feat/p2-wire-mesh-transport

Conversation

@Mearman

@Mearman Mearman commented Sep 11, 2026

Copy link
Copy Markdown
Member

Part of #47 (P2: substrate swap). Foundational prerequisites for WireMeshTransport itself, which lands as a stacked follow-up PR on top of this one.

Test plan

  • New tests: toIdentityPort's deviceId matches identity.ts's own deriveDeviceId; sign/verify round-trips; the port's own deriveDeviceId agrees with its own deviceId
  • Full existing suite (69 tests) plus federation/delivery/visibility all still pass unmodified

Resolves the git-subdirectory dependency to wire-mesh's current main,
which now exports adapters/tls-transport (mutually-authenticated TLS,
Connection.peerDeviceId) and the Transport port's peerDeviceId/unref
additions — the P2 substrate swap's own hard prerequisite.
WireMeshTransport (in progress) needs the exact keypair identity.ts
already holds wrapped as an IdentityPort, the shape MeshSession and
createTlsTransport both expect. toIdentityPort imports the same
PKCS8 private key into a Web Crypto CryptoKey and hands it to
wire-mesh-core's own createNodeIdentity alongside the raw public-key
bytes deriveDeviceId already computes internally -- now exposed as
rawPublicKeyFromPrivateKey so both derivations share one source
rather than agreeing by coincidence.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 11, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-11T17:42:40.828104Z ea20376 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Mearman
Mearman merged commit bc83bd9 into main Sep 11, 2026
5 checks passed
@Mearman
Mearman deleted the feat/p2-wire-mesh-transport branch September 11, 2026 17:41
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant