-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Return .standard_name field from ssl:getCipherInfo #142
Conversation
e9baf9e
to
61643aa
Compare
This alleviates the need for our own standard name to openssl name map for ciphers. Requires wahern/luaossl#142
src/openssl.c
Outdated
{0x001A, "SSL_DH_anon_WITH_DES_CBC_SHA"}, | ||
{0x001B, "SSL_DH_anon_WITH_3DES_EDE_CBC_SHA"}, | ||
{0x001D, "SSL_FORTEZZA_KEA_WITH_FORTEZZA_CBC_SHA"}, | ||
{0x001E, "SSL_FORTEZZA_KEA_WITH_RC4_128_SHA"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be TLS_KRB5_WITH_DES_CBC_SHA
? See https://github.com/openssl/openssl/pull/1743/files and daurnimator/lua-http#116 (comment)
61643aa
to
f355d23
Compare
src/openssl.c
Outdated
{0x001A, "TLS_DH_anon_WITH_DES_CBC_SHA"}, | ||
{0x001B, "TLS_DH_anon_WITH_3DES_EDE_CBC_SHA"}, | ||
{0x001D, "TLS_FORTEZZA_KEA_WITH_FORTEZZA_CBC_SHA"}, | ||
{0x001E, "TLS_FORTEZZA_KEA_WITH_RC4_128_SHA"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awaiting answer to openssl/openssl#6710
f355d23
to
2d01cf6
Compare
According to openssl/openssl#6710 patches exist(ed) for Kerberos, while FORTEZZA_KEA_WITH_RC4_128_SHA was never implemented (and not likely to be in future)
b14a9db
to
e75a942
Compare
For #118
SSL_CIPHER_standard_name
has been around for a long time, but only when OpenSSL was compiled with the rarely used--enable-trace
option. It's expected the OpenSSL 1.1.1 will make it unconditional (via openssl/openssl#3859)This PR includes a backwards compatible shim for <= 1.1.0