Skip to content

refactor: split MQTT into tls/cmd/print/monitor and pin via SSLContext - #112

Merged
DLANSAMA merged 1 commit into
mainfrom
refactor/aaa-pr3-mqtt
Aug 13, 2026
Merged

refactor: split MQTT into tls/cmd/print/monitor and pin via SSLContext#112
DLANSAMA merged 1 commit into
mainfrom
refactor/aaa-pr3-mqtt

Conversation

@DLANSAMA

Copy link
Copy Markdown
Owner

AAA stack 3/9. Stacked on #111.

protocols/mqtt.py is now a facade. TLS, command, print-start, and monitor live in focused modules. Pinning is an SSLContext subclass (PinningSSLContext) instead of a post-handshake check bolted on the side.

Stack: #110#111this → contracts → session reuse → Textual 8 / 3.10 → test stubs → sole error path → honesty

The 860-line mqtt.py is now a facade. TLS construction, command/status,
print-ack, and the monitor loop live in sibling modules. Pinning uses
PinningSSLContext.wrap_socket, which handshakes then calls
verify_cert_fingerprint — no instance wrap_socket monkeypatch.
Base automatically changed from refactor/aaa-pr2-snapshot to main August 13, 2026 03:23
@DLANSAMA
DLANSAMA force-pushed the refactor/aaa-pr3-mqtt branch from 2269474 to 865793b Compare August 13, 2026 03:23
@DLANSAMA
DLANSAMA merged commit 532ea1d into main Aug 13, 2026
6 of 12 checks passed
@DLANSAMA
DLANSAMA deleted the refactor/aaa-pr3-mqtt branch August 13, 2026 03:32
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