-
Notifications
You must be signed in to change notification settings - Fork 12
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
OpenSSL mapping broken #5
Comments
There are also TLS 1.3 cipher suites that won't be taken into account because they begin with /* TLS v1.3 ciphersuites */
# define TLS1_3_CK_AES_128_GCM_SHA256 0x03001301
# define TLS1_3_CK_AES_256_GCM_SHA384 0x03001302
# define TLS1_3_CK_CHACHA20_POLY1305_SHA256 0x03001303
# define TLS1_3_CK_AES_128_CCM_SHA256 0x03001304
# define TLS1_3_CK_AES_128_CCM_8_SHA256 0x03001305 # define TLS1_3_RFC_AES_128_GCM_SHA256 "TLS_AES_128_GCM_SHA256"
# define TLS1_3_RFC_AES_256_GCM_SHA384 "TLS_AES_256_GCM_SHA384"
# define TLS1_3_RFC_CHACHA20_POLY1305_SHA256 "TLS_CHACHA20_POLY1305_SHA256"
# define TLS1_3_RFC_AES_128_CCM_SHA256 "TLS_AES_128_CCM_SHA256"
# define TLS1_3_RFC_AES_128_CCM_8_SHA256 "TLS_AES_128_CCM_8_SHA256" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is an issue with openssl mapping.
If you look at the documentation of Openssl 1.1.1: https://www.openssl.org/docs/man1.1.1/man1/ciphers.html
There is the following mapping for ChaCha20-Poly1305 cipher suites, extending TLS v1.2 (IANA / OpenSSL)
But looking at tls-table output the openssl cipher names are empty:
The code of tls-table is looking for cipher beginning with
TLS1_CK_
orTLS1_TXT
.tls-table/tls-table.py
Lines 136 to 167 in 169f749
The ciphers are declared here:
https://github.com/openssl/openssl/blob/0ba8bc058376d423d7c5649cfce83a23cce97267/include/openssl/tls1.h#L1074-L1081
https://github.com/openssl/openssl/blob/0ba8bc058376d423d7c5649cfce83a23cce97267/include/openssl/tls1.h#L581-L588
https://github.com/openssl/openssl/blob/0ba8bc058376d423d7c5649cfce83a23cce97267/include/openssl/tls1.h#L743-L749
Yet nothing shows up. I took the example for ChaCha20-Poly1305 cipher suites but it's not working for any chipher anymore.
I guess it is because they changed the structure of the code.
The text was updated successfully, but these errors were encountered: