Skip to content

daemon: enforce peer pubkey binding on the runtime data plane + panic-recover - #424

Merged
TeoSlayer merged 1 commit into
mainfrom
security/runtime-trust-key-binding
Jul 25, 2026
Merged

daemon: enforce peer pubkey binding on the runtime data plane + panic-recover#424
TeoSlayer merged 1 commit into
mainfrom
security/runtime-trust-key-binding

Conversation

@TeoSlayer

Copy link
Copy Markdown
Collaborator

Runtime companion to the handshake trust key-binding PR. The daemon authorizes inbound data-plane frames against the trusted peer's bound public key (IsTrustedWithKey + cached peer key), not node ID alone, so a node-ID reuse with a fresh key is not silently trusted. Adds panic recovery on the tunnel dispatch path plus fuzz + attack-replay coverage (punch reflection, tunnel dispatch).

Follow-up (separate PR): go.mod bumps to the new common / beacon / handshake releases once those land, to pull the underlying protocol-layer guards into the daemon binary.

🤖 Generated with Claude Code

…-recover

Mirrors the handshake trust key-binding at the daemon: inbound data-plane
frames are authorized against the trusted peer's bound public key
(IsTrustedWithKey with the cached peer key) rather than node ID alone, so
a node-ID reuse with a fresh key is not silently trusted. Adds panic
recovery on the tunnel dispatch path and fuzz + attack-replay coverage for
punch reflection and tunnel dispatch.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@TeoSlayer
TeoSlayer merged commit 9895373 into main Jul 25, 2026
14 checks passed
@TeoSlayer
TeoSlayer deleted the security/runtime-trust-key-binding branch July 25, 2026 14:54
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.

2 participants