Skip to content

Authenticate peers without certificates using a TLS 1.3 PSK - #509

Closed
xnox wants to merge 1 commit into
zeek:masterfrom
xnox:topic/xnox/tls13-psk
Closed

xnox wants to merge 1 commit into
zeek:masterfrom
xnox:topic/xnox/tls13-psk

Conversation

@xnox

@xnox xnox commented Oct 15, 2026

Copy link
Copy Markdown

Authenticate peers without certificates using a TLS 1.3 pre-shared key, keeping anonymous TLS 1.2 for older peers when the default key is used.

(This was AI-generated; remainder to be filled in by user)

🤖 Generated with Claude Code

Without certificates, Broker used anonymous TLS 1.2 (AECDH-AES256-SHA).
Peers now authenticate each other with a TLS 1.3 pre-shared key using
TLS_AES_256_GCM_SHA384, configured via the new psk-identity and psk-key
options. By default, Broker uses a well-known key and still accepts
anonymous TLS 1.2 from older peers. A custom key requires TLS 1.3.

In PSK mode, clients now reject servers that present a certificate
instead of completing the PSK handshake.

AI-assisted: written with Claude Code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xnox

xnox commented Oct 15, 2026

Copy link
Copy Markdown
Author

i don't like it

@xnox xnox closed this Oct 15, 2026
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.

1 participant