Skip to content

Add native PQC WSS listener acceptance and core tests - #5

Merged
ajlennon merged 1 commit into
mainfrom
briar/pqc-wss-core
Dec 3, 2026
Merged

ajlennon merged 1 commit into
mainfrom
briar/pqc-wss-core

Conversation

@ajlennon

@ajlennon ajlennon commented Dec 3, 2026

Copy link
Copy Markdown
Member

Summary

Add native MQTT-over-WSS acceptance to the core Python test runner, with a
bounded standard-library RFC6455 transport and a distinct coloured WSS section.
Document direct Mosquitto setup, strict TLS configuration, certificate details,
browser limitations and the public lab's new8891 endpoint. Keep8090/8890 intact.

Move required offline CI to the existing DD organisation runner, with an
authenticated runner139/group1 identity check and no public-fork execution.

Validation

  • 58 offline unit tests passed; Python compilation and diff whitespace checks passed.
  • Private transient and permanent-listener runs:25/25passed each.
  • Public lab acceptance:25/25passed, including HTTPS/raw MQTT regressions.
  • WSS: HTTP101, mqtt subprotocol, MQTT5 QoS1 exact publish/subscribe delivery.
  • Negative controls: classical-only group/signature, TLS1.2, wrong name,
    untrusted CA, bad MQTT credentials and forbidden topic all rejected as expected.
  • Effective broker sandbox retained; non-root process, zero effective
    capabilities, NoNewPrivs and seccomp still active. Unrelated firewall hashes unchanged.

Review and limitations

Local Briar self-review, not independent review or a Preloop pass, as selected
for this repository. Reviewed Upgrade validation, client masking, frame/message
bounds, fragmentation/control handling, TLS evidence delegation, secret handling,
port-specific reporting, workflow trust boundary and reproduction instructions.
Fixed the missing TLS-evidence delegation and wrong WSS report-port mapping;
both have regression tests. No unresolved blocking findings.

This verifies the Python/OpenSSL path, not browser compatibility. The server
requires ML-DSA-65 authentication as well as hybrid key exchange; browsers must
support both and trust the lab CA. No classical fallback, proxy, bridge,
anonymous auth or browser trust change. Direct-browser/static-hub delivery and
Cheerlights remain separate follow-up work. ESP32 PR4 is unchanged.

Assisted-by: Briar

@ajlennon
ajlennon merged commit d7a0460 into main Dec 3, 2026
1 check passed
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