Skip to content

doc: S7CommPlus-over-TLS and password-auth sections#719

Merged
gijzelaerr merged 1 commit into
masterfrom
doc-s7commplus-tls
May 5, 2026
Merged

doc: S7CommPlus-over-TLS and password-auth sections#719
gijzelaerr merged 1 commit into
masterfrom
doc-s7commplus-tls

Conversation

@gijzelaerr
Copy link
Copy Markdown
Owner

Summary

  • Adds a TLS section covering use_tls=True, optional CA verification (tls_ca), and mutual TLS (tls_cert + tls_key).
  • Adds a short PLC password authentication example (client.authenticate(password=...)) covering both the legacy SHA-1 and newer AES-256-CBC paths.
  • Notes the V1-initial S7-1200 (FW < 4.5) limitation and links it to issue S7-1200 Session Setup Incomplete #710.

Why

The unified Client has supported all of this on master since 4.0 — the implementation, scaffolding, and tests all exist (s7/connection.py, tests/test_s7_tls.py, tests/test_s7_v2.py). The docs never told users how to use them.

Refs #718.

Test plan

  • doc/connecting.rst builds without warnings on Read the Docs.
  • Code examples mirror the existing patterns in the same file.

🤖 Generated with Claude Code

The unified Client has supported V2/V3 with TLS, mutual TLS, and
password authentication on master since 4.0; the docs never
explained how to use them. Add a focused TLS section (covering
``use_tls=True``, ``tls_ca`` for PLC verification, and the optional
mutual-TLS ``tls_cert`` / ``tls_key`` pair) plus a short
authentication example for password-protected PLCs.

Also notes the V1-initial S7-1200 (FW < 4.5) limitation that's
tracked in #710 and links to the cryptography optional extra.

Refs #718.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@gijzelaerr gijzelaerr merged commit ca74fde into master May 5, 2026
39 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.

1 participant