Preserve canonical Host on private ACP HTTP relay calls - #17
Merged
Conversation
Signed-off-by: Ross Hartmann <1750494+RossHartmann@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hostheader with the validated canonical relay authorityProduction evidence
Final Kiingo deployment run
30597856133deployed the intended immutable images and proved the WebSocket fix from #15: all 12 ACP slots initialized and connected tows://buzz:3000. The listener then exited at first channel discovery with:The relay is host-bound to
chat.kiingo.com; the HTTP bridge still sent the private service authority (buzz:3000) even though NIP-98 was correctly signed for the canonical URL. This change separates HTTP transport routing from community authority just as #15 already does for the WebSocket upgrade.Validation
cargo fmt --all -- --check— passcargo test -p buzz-acp canonical_host -- --nocapture— 2 passed, 0 failedcargo clippy -p buzz-acp --all-targets -- -D warnings— passgit diff --check— passCommit is DCO-signed. Hooks were bypassed only after the repository-required scoped Rust preflight above; no unrelated broad build/test lane was run.