NetworkManager/src/core/supplicant
Yufan You a275285537
supplicant: add NMSetting8021xAuthFlags for TLS v1.3 / enable a version
In the commit 2a11c57c4e ('libnm/wifi: rework NMSetting8021xAuthFlags
to explicitly disable TLS version'), it said:

> In the future, supplicant may disable options by default, and
> the inverse option can become interesting to configure
> "tls_disable_tlsv1_0=0". When that happens, we can solve it by
> adding another flag NM_SETTING_802_1X_AUTH_FLAGS_TLS_1_0_ENABLE.

This commit adds the `NM_SETTING_802_1X_AUTH_FLAGS_TLS_1_0_ENABLE`
flag as well as similar flags for other TLS versions.

This commit also adds flags for TLS v1.3, as the corresponding flags
are now provided in wpa_supplicant.

The NMSetting8021xAuthFlags setting is rejected when both enable and
disable are set for the same TLS version. if-else-if is used in
nm_supplicant_config_add_setting_8021x to guarantee this behavior.
It prefers ENABLE over DISABLE to match the behavior of wpa_supplicant.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1133

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1450
2022-11-08 07:15:14 +01:00
..
tests wifi: disable FT in AP mode 2022-04-08 15:31:44 +02:00
nm-supplicant-config.c supplicant: add NMSetting8021xAuthFlags for TLS v1.3 / enable a version 2022-11-08 07:15:14 +01:00
nm-supplicant-config.h wifi: disable FT in AP mode 2022-04-08 15:31:44 +02:00
nm-supplicant-interface.c glib-aux: rename IP address related helpers from "nm-inet-utils.h" 2022-08-25 19:05:51 +02:00
nm-supplicant-interface.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-supplicant-manager.c supplicant: check whether WEP is available 2022-03-17 12:44:53 +01:00
nm-supplicant-manager.h format: reformat source tree with clang-format 13.0 2021-11-29 09:31:09 +00:00
nm-supplicant-settings-verify.c supplicant: add NMSetting8021xAuthFlags for TLS v1.3 / enable a version 2022-11-08 07:15:14 +01:00
nm-supplicant-settings-verify.h all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
nm-supplicant-types.h supplicant: add BIP interface capability 2022-04-04 10:43:24 +02:00