Skip to content

esp_wifi: require SHA1 for SoftAP (IDFGH-17711)#18650

Open
dhimasardinata wants to merge 1 commit into
espressif:masterfrom
dhimasardinata:fix/wifi-softap-sha1-dep
Open

esp_wifi: require SHA1 for SoftAP (IDFGH-17711)#18650
dhimasardinata wants to merge 1 commit into
espressif:masterfrom
dhimasardinata:fix/wifi-softap-sha1-dep

Conversation

@dhimasardinata
Copy link
Copy Markdown

Summary

  • Select MBEDTLS_SHA1_C when regular SoftAP support is enabled.
  • Mirror the same dependency for the remote Wi-Fi SoftAP Kconfig option.

Verification

  • git diff --check
  • python tools/ci/check_kconfigs.py components/esp_wifi/Kconfig components/esp_wifi/remote/Kconfig.wifi.in
  • idf.py -C examples/wifi/getting_started/softAP -B /tmp/softap_sha1_build -D SDKCONFIG=/tmp/softap_sha1_sdkconfig -D SDKCONFIG_DEFAULTS=/tmp/softap-sha1-off.defaults set-target esp32 build
  • rg "CONFIG_(ESP_WIFI_SOFTAP_SUPPORT|MBEDTLS_SHA1_C)" /tmp/softap_sha1_sdkconfig /tmp/softap_sha1_build/config/sdkconfig.h

Closes #18508

SoftAP password handling relies on SHA-1. Keep the dependency explicit so disabling SHA-1 in mbedTLS does not leave SoftAP misconfigured.

Closes espressif#18508
@github-actions github-actions Bot changed the title esp_wifi: require SHA1 for SoftAP esp_wifi: require SHA1 for SoftAP (IDFGH-17711) May 25, 2026
@espressif-bot espressif-bot added the Status: Opened Issue is new label May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Opened Issue is new

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Soft_AP depend on CONFIG_MBEDTLS_SHA1_C (IDFGH-17576)

4 participants