-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
[TW#26175] wifi: wpa2_enterprise: DES-CBC3-SHA is incorrectly presented as supported cipher suite #2383
Comments
Removing TLS_RSA_WITH_3DES_EDE_CBC_SHA from function tlsv1_client_init in tlsv1_client.c solves this problem.
|
Good find and this array should probably be dynamically generated based on the configured cypher suites in mbedtls, not hardcoded |
FayeY
changed the title
wifi: wpa2_enterprise: DES-CBC3-SHA is incorrectly presented as supported cipher suite
[TW#26175] wifi: wpa2_enterprise: DES-CBC3-SHA is incorrectly presented as supported cipher suite
Sep 11, 2018
catalinio
pushed a commit
to catalinio/pycom-esp-idf
that referenced
this issue
Jun 28, 2019
catalinio
pushed a commit
to catalinio/pycom-esp-idf
that referenced
this issue
Jun 28, 2019
0xFEEDC0DE64
pushed a commit
to 0xFEEDC0DE64/esp-idf
that referenced
this issue
May 5, 2021
* Add timeout to WiFiClient.connect() * Changed default handling
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
git rev-parse --short HEAD
to get the commit id.): 599da58Problem Description
When connecting to an wpa2 enterprise network ESP32 claim support for cipher suites that are not really supoorted. During EAP handshake ESP32 presents its list of supported cipher suites in the client hello eap message. Currently the list of (claimed) supported ciphers looks like this:
Connecting to networks using TLS_RSA_WITH_3DES_EDE_CBC_SHA ciphers however does not work. Looking at ESP-IDF sources it appears this non-support is intentional.
3DES initialization is removed at compile time for both HW and SW crypto implementations (function crypto_cipher_init in fast_crypto_internal-cipher.c and crypto_internal-cipher.c). The relevant code is protected by
#ifdef CONFIG_DES3
which is not set. As code won't build if CONFIG_DES3 is set I suppose the non-support is intentional.Either way to avoid interop problems ESP32 shall not present cipher suites that it cannot handle.
Expected Behavior
Actual Behavior
Steps to reproduce
Code to reproduce this issue
Use the esp-idf wpa2_enterprise example code to connect to test network
Debug Logs
Relevant ESP32 logs:
Relevant hostapd logs:
The text was updated successfully, but these errors were encountered: