Skip to content

feat: Enhance handshake security (Breaking Change) - #269

Merged
alex289 merged 1 commit into
mainfrom
feature/harden-ws-handshake
Jul 27, 2026
Merged

alex289 merged 1 commit into
mainfrom
feature/harden-ws-handshake

Conversation

@timokoessler

Copy link
Copy Markdown
Member

Type of change

  • 🐛 Bug fix
  • 🚀 New feature (Breaking)
  • ❓ Other (please specify)

Description

Enhance handshake security by signing the agent response with a long term pre-shared key. This prevents a man in the middle reading the auth token header to spoof the connection. Before it was already not possible to spoof the hub, but a agent could be spoofed if a malicious actor could get in the middle of the websocket connection during a handshake.

Additional context

This requires all Agent tokens to be re-issued!!!

By signing the agent response with a long term pre-shared key. This prevents a man in the middle reading the auth token header to spoof the connection.
@alex289
alex289 merged commit a79b33f into main Jul 27, 2026
10 of 11 checks passed
@alex289
alex289 deleted the feature/harden-ws-handshake branch July 27, 2026 09:50
@orcacd-bot orcacd-bot Bot mentioned this pull request Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants