From e0e46a9c17cbca6ab421c1ead3a112a3a9b2db1f Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Tue, 14 Jul 2020 15:51:06 +0200 Subject: [PATCH] Revert "Add documentation for new WPA2-EAP authentication. (#633)" The python cryptography module used to parse the x509 chains is not available on some architectures. The feature has been reverted until a solution is found. This reverts commit f7c7f284a02cfa30ea5dbb1c6a3fad0782db987a. --- components/wifi.rst | 47 --------------------------------------------- 1 file changed, 47 deletions(-) diff --git a/components/wifi.rst b/components/wifi.rst index 436e22fb4..69f0af536 100644 --- a/components/wifi.rst +++ b/components/wifi.rst @@ -165,7 +165,6 @@ Configuration variables: - **ssid** (*Optional*, string): The SSID or WiFi network name. - **password** (*Optional*, string): The password to use for authentication. Leave empty for no password. -- **eap** (*Optional*): See :ref:`eap`. - **channel** (*Optional*, int): The channel of the network (1-14). If given, only connects to networks that are on this channel. - **bssid** (*Optional*, string): Optionally define a BSSID (MAC-Address) of the network to connect to. @@ -176,52 +175,6 @@ Configuration variables: the highest priority is chosen. If the connection fails, the priority is decreased by one. Defaults to ``0``. -.. _eap: - -Enterprise Authentication -------------------------- - -WPA2_EAP Enterprise Authentication is supported on ESP32s. -In order to configure this feature you must use the :ref:`wifi-networks` style configuration. -The ESP32 is known to work with PEAP, EAP-TTLS, and the certificate based EAP-TLS. -These are advanced settings and you will usually need to consult your enterprise network administrator. - -.. code-block:: yaml - - # Example EAP configuration - wifi: - networks: - - ssid: EAP-TTLS_EnterpriseNetwork - eap: - username: bob - password: VerySafePassword - - ssid: EAP-TLS_EnterpriseNetwork - eap: - certificate_authority: | - -----BEGIN CERTIFICATE----- - ... - -----END CERTIFICATE----- - certificate: | - -----BEGIN CERTIFICATE----- - ... - -----END CERTIFICATE----- - key: | - -----BEGIN PRIVATE KEY----- - ... - -----END PRIVATE KEY----- - -Configuration variables: - -- **identity** (*Optional*, string): The outer identity to pass to the EAP authentication server. - This is required for EAP-TLS. -- **username** (*Optional*, string): The username to present to the authenticating server. -- **password** (*Optional*, string): The password to present to the authentication server. - For EAP-TLS this password may be set to decrypt to private key instead. -- **certificate_authority** (*Optional*, block): A PEM encoded certificate to use when validating the authentication server. -- **certificate** (*Optional*, block): A PEM encoded certificate to use for EAP-TLS authentication. -- **key** (*Optional*, block): A PEM encoded private key matching ``certificate`` for EAP-TLS authentication. - Optionally encrypted with ``password``. - .. _wifi-connected_condition: ``wifi.connected`` Condition