You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9b9657c
Browse filesBrowse the repository at this point in the historyBrowse files
Clarify TLS 1.3 behavior of the SSLContext PSK callbacks (GH-160159)
Under TLS 1.3 a PSK is only offered and may be declined, and both sides
fall back to certificate authentication when one is available, so
CERT_NONE leaves the server unauthenticated and a zero length PSK does
not reject the connection. Drop CERT_NONE from the example and the PSK
tests.
A callback that raises is treated like one returning a zero length PSK,
so under TLS 1.3 it also falls back to certificate authentication. A
server with a certificate loaded declines even a matching PSK with
OpenSSL's default TLS 1.3 cipher suite order, which selects a SHA-384
suite. Mention checking session_reused as the client side alternative
to not using CERT_NONE.
0 commit comments