discovered 03 Aug 2026
sslpsk
→ View on GitHubThe `sslpsk` module extends the Python `ssl` package to incorporate TLS-PSK (Pre-Shared Key) support, enabling secure communication using preshared keys for both client and server connections. Key features include the ability to specify the preshared key and client identity as input, as well as functions for dynamic key retrieval based on server or client identities. This module provides a straightforward wrapper around the existing `ssl.wrap_socket` function, facilitating easy integration of PSK-based security in Python applications.