1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 23:21:54 +00:00

Add ESP32 support for WPA2-EAP Enterprise WiFi authentication (#1080)

* Add config generation and validation to support various WPA2-EAP authentication methods.

Config generate validates that all the required parameters are set in valid combinations.
In the event of EAP-TLS, the private key is matched to the certificate to check for pasting errors.

Add EAPAuth struct to header.
Add eap_auth property to WiFiAP with getters/setters.

* Add C++ code for setting WPA2-EAP authentication.

* Fix config for x509 EAP-TLS authentication.

* Fix a few linting issues.

* Fix a couple more linting issues that only showed up in CI

* Remove stray character.

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
This commit is contained in:
Tom Price
2020-07-10 01:35:35 +01:00
committed by GitHub
parent e5d4e12457
commit c693c219f4
8 changed files with 178 additions and 1 deletions

View File

@@ -10,4 +10,5 @@ pyserial==3.4
ifaddr==0.1.6
platformio==4.3.3
esptool==2.8
cryptography==2.9.2
click==7.1.2