Dynamic Devices' experiments with post-quantum cryptography: HTTPS, MQTT over TLS and WebSockets, SSH, firmware signatures and Zephyr application tests. This is a public lab, not a production-ready security stack or compliance certification. A build, flash or signature test is not a PQC network test.
| I want to… | Start with | What it shows |
|---|---|---|
| Try the lab without installing tools | Live test hub | Browser connection checks plus the server-run 25-check suite; these are different execution paths. |
| Change a shared light colour | CheerLightsQ | Colour publish/subscribe on our separate lab channel, not worldwide CheerLights. |
| Test from my own computer | Protocol test guide | Strict HTTPS, MQTTS and WSS application exchanges, protocol/certificate details and rejection controls. |
| Run my own server | Docker lab and AndySC pack | Source-built HTTPS/API, MQTTS and WSS lab, with a separate optional AJAX adapter. |
| Build Mac SSH tools | SSH page and v9 download · instructions | Separate tools; one-time profile enables ssh pqc-lab and scp file.txt pqc-lab:./. Build generates no keys or connections. |
| Try Zephyr application code | Native simulator setup | Ten live HTTPS/MQTTS controls using host OpenSSL, not embedded Zephyr TLS. |
| Flash an ESP32 test image | Builds and flashing · browser installer | Boot/resource and ML-DSA-44 signature-verification images, not PQC network clients. |
| Test an ESP32-S2 Mini | S2 Mini bring-up | Native USB baseline and ML-DSA-44 verifier; XTVTX hardware/PSRAM unverified; no TLS or KC heater control. |
| Explore ESP8266 feasibility | D1 mini experiment | A limited hybrid-HTTPS prototype; no proved ML-DSA certificate authentication or complete PQC acceptance. |
| Review evidence and inventories | Dated results · SBOM/CBOM guide | Which artifact was tested or inventoried, and the limits of each claim. |
See the documentation index for all guides and the repository map for code, tests and maintenance commands.
No Zephyr SDK or pip dependencies are needed. Both Python's ssl and the
OpenSSL CLI must use OpenSSL 3.5+; upgrading the CLI alone is not enough.
Get the independently verified lab CA and restricted test-account credentials
from the operator. Keep the password in a private file outside the repository.
openssl version
python3 -c 'import ssl; print(ssl.OPENSSL_VERSION)'
python3 protocol_tests.py --host mqtt.dynamicdevices.co.uk \
--cafile /absolute/path/outside/repository/lab-ca.pem \
--password-file /absolute/path/outside/repository/mqtt-password.txtAdd --username if the operator gives you a username other than the default
pqc-test. --json produces structured evidence; --color always forces
coloured output. Exit codes: 0 all pass, 1 failed expectation,
2 setup/transport error. A connection error is not successful rejection.
protocol_tests.py is the user-facing entry point; server_test.py is its
underlying strict runner, not an additional test suite.
| Listener | Required profile |
|---|---|
| HTTPS 8090 | TLS 1.3, X25519MLKEM768, ML-DSA-65 certificate-chain/server authentication |
| MQTTS 8890 | Same TLS profile; MQTT 5/QoS 1 and account/topic controls |
MQTT over WSS 8891, /mqtt |
Same TLS profile; direct Mosquitto WebSockets, not an HTTP bridge |
| SSH 8893 | ML-KEM768/X25519 exchange, ML-DSA-65 server and user signatures, AES-256-GCM |
HTTPQ, MQTTQ and WSQ are this project's shorthand, not new wire protocols. Hybrid key exchange is not the same as PQC authentication. The strict profile has no classical-only fallback. SSH uses direct public keys, not TLS certificates.
Excerpt from the 3 December 2026 public run, not a fresh observation:
PQC SERVER CHECK
25 PASS | 0 FAIL | 0 ERROR
Server: mqtt.dynamicdevices.co.uk
HTTPS :8090
Protocol: HTTP/1.1 / HTTP 200
Transport: TLSv1.3
Hybrid group: X25519MLKEM768
TLS authentication: mldsa65
Cipher: TLS_AES_256_GCM_SHA384
Read the full terminal report and dated results for all checks and certificate evidence. An old PASS is not a guarantee of current service health.
The hub's Run all 25 strict protocol checks asks the lab server to run loopback checks with public-hostname verification. It does not prove that the visitor's browser or external network negotiated PQC. Browser delivery tests and actual firmware flashing are separate. See how the live API works.
Browser compatibility records exact evidence: no exact browser/version is verified here for normal CA-validated operation with both the required exchange and authentication. A manually accepted lab-certificate exception may allow hobbyist experiments but is not normal CA validation or a test pass. Independently verify the expected fingerprint first; never disable checks globally. Trust and device connection steps cover both the exception and installation of the verified lab CA.
CheerLightsQ has an intentionally public demo login, pqc-demo /
public-pqc-demo. Anyone can change/read the shared cheerlights colour;
never send secrets. That identity is not a general test/admin/SSH account and
does not grant the full protocol suite's topic permissions. See the
maker's guide for device subscription and publication.
Compatible devices must implement the required TLS/authentication profile.
For an explicitly classical-authentication comparison only:
python3 protocol_tests.py --comparison-ecdsaThis runs 17 HTTPS/WSS controls on 8091/8892 using hybrid exchange but classical ECDSA authentication. It is not strict-profile acceptance and is never selected as an automatic fallback. See test meanings.
- Docker lab: localhost bindings by default; deliberately exposing ports and trusting the lab CA are separate operator steps. The deployed lab's web server is Nginx.
- AndySC v2 release: PDF, source ZIP and review artifacts; no prebuilt registry image.
- SPDX SBOM, CycloneDX CBOM, acceptance and provenance: recorded Docker-image evidence, not the live server, SSH, browser or every device. Read/regenerate inventories.
- Local signature, emulation and loopback experiments: pinned dependencies and exact test order. Emulator timing is not physical-MCU performance; signatures are not secure boot or OTA acceptance.
- Contribution rules: local review and required CI on the DD organisation runner, not Preloop/Sandchest. No hosted-runner substitute, keys, private credentials or raw machine logs.
Offline checks do not contact the lab, build firmware or flash a board:
python3 -m unittest discover -s tests -v
python3 -m compileall -q .
node --test tests/*.test.mjsUse Node 24 for the JavaScript tests. The optional official-schema Python test
may skip locally without jsonschema and pinned schemas; the required CI has
a separate schema-validation step. See maintenance instructions.
Embedded Zephyr/ESP32 PQC TLS, complete ESP8266 PQC authentication, physical-board
network acceptance, boot/update integration and browser firmware emulation are
not established by the current signature/build tests. Mac v8's scp target,
server SFTP/file transfer and revised Homebrew orchestration still need native/
end-to-end validation. Earlier Intel SSH login/negative/interactive controls
passed; the SSH guide gives exact limits.
Original contributions are MIT licensed. Upstream dependencies keep their own licences: see third-party notices. Assisted-by: Briar.