Skip to content

ingest-router: Implement signing of requests that modify request bodies#141

Merged
lynnagara merged 1 commit into
mainfrom
ingest-router-signing
Jun 18, 2026
Merged

ingest-router: Implement signing of requests that modify request bodies#141
lynnagara merged 1 commit into
mainfrom
ingest-router-signing

Conversation

@lynnagara

@lynnagara lynnagara commented Jun 18, 2026

Copy link
Copy Markdown
Member
  • Wires up synapse signing of requests for handlers where needs_relay_auth is true
  • All relay auth (verification and signing) is consolidated into the executor. Makes the implementation more symmetrical and easier to test the executor in isolation.
  • Adds a --credentials-path flag on the ingest router CLI where the relay formatted credentials file should be passed
  • Simplifies cloning - RelaySigner and RelayVerifier no longer need to be Clone and the unnecessary inner Arc removed
  • Adds executor signature rejection test

- Wires up synapse signing of requests for handlers where `needs_relay_auth` is true
- All relay auth (verification and signing) is consolidated into the executor
- Adds a `--credentials-path` flag on the ingest router CLI where the relay formatted
credentials file should be passed
- Simplifies cloning - `RelaySigner` and `RelayVerifier` no longer need to be `Clone`
and unnecessary inner `Arc` removed
- Adds executor signature rejection test
@lynnagara lynnagara requested a review from a team as a code owner June 18, 2026 19:00
@lynnagara lynnagara force-pushed the ingest-router-signing branch from effad88 to a7c1d11 Compare June 18, 2026 19:01
@lynnagara lynnagara merged commit 8c3e51c into main Jun 18, 2026
20 checks passed
@lynnagara lynnagara deleted the ingest-router-signing branch June 18, 2026 20:30
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