Skip to content

fix: require TLS 1.2 for realtime transport - #431

Merged
subzeroid merged 1 commit into
mainfrom
fix/realtime-tls-minimum
Aug 21, 2026
Merged

fix: require TLS 1.2 for realtime transport#431
subzeroid merged 1 commit into
mainfrom
fix/realtime-tls-minimum

Conversation

@subzeroid

Copy link
Copy Markdown
Owner

Summary

  • require TLS 1.2 or newer for library-created Realtime MQTT SSL contexts
  • preserve stricter platform defaults and caller-provided SSL context policies
  • mirror the security hardening and regression coverage from instagrapi #2770

Security

Mirrors the fix for instagrapi code scanning alert #18.

Verification

  • 596 passed, 3 skipped, 35 subtests passed in the full regression suite
  • 24 passed in the focused Realtime regression suite
  • Ruff check and format passed
  • Bandit reported no issues
  • strict MkDocs build passed
  • all pre-commit hooks passed
  • mypy output is unchanged from the same untouched base environment

@subzeroid
subzeroid merged commit 5291e1b into main Aug 21, 2026
13 checks 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.

2 participants