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
crypto: setting --tls-max-v1.2 and --tls-cipher-list seems to ignore --tls-min-* setting #43406
Is your report about the version: 'SSLv3' line in the output? OpenSSL's SSL_CIPHER_get_version() reports the cipher's minimum SSL/TLS protocol version, not the protocol version of the current session.
Yes, indeed, I was indeed confused about the SSLv3 in the getCiphers() line. I've found getProtocol() and life makes sense again. Thanks for the clarification.
If you're up for it, I think a documentation update to tlsSocket.getCipher() can help clarify the difference between the cipher and the session protocol version.
It is mentioned but the example uses a TLSv1.2-only cipher, making it an easy-to-miss nuance.
Activity
bnoordhuis commentedon Jun 14, 2022
TLS_RSA_WITH_AES_256_CBC_SHA is still around in TLSv1.2: https://ciphersuite.info/cs/TLS_RSA_WITH_AES_256_CBC_SHA/
Is your report about the
version: 'SSLv3'line in the output? OpenSSL'sSSL_CIPHER_get_version()reports the cipher's minimum SSL/TLS protocol version, not the protocol version of the current session.AdamMajer commentedon Jun 14, 2022
Yes, indeed, I was indeed confused about the SSLv3 in the getCiphers() line. I've found getProtocol() and life makes sense again. Thanks for the clarification.
bnoordhuis commentedon Jun 14, 2022
If you're up for it, I think a documentation update to
tlsSocket.getCipher()can help clarify the difference between the cipher and the session protocol version.It is mentioned but the example uses a TLSv1.2-only cipher, making it an easy-to-miss nuance.
doc: clarify tls.tlsSocket.getCipher().version
doc: clarify tls.tlsSocket.getCipher().version
doc: clarify tls.tlsSocket.getCipher().version
doc: clarify tls.tlsSocket.getCipher().version
doc: clarify tls.tlsSocket.getCipher().version
doc: clarify tls.tlsSocket.getCipher().version