feat(network): support WPA2/WPA3-Enterprise (802.1X) Wi-Fi - #4174
Draft
honor2016tw wants to merge 3 commits into
Draft
feat(network): support WPA2/WPA3-Enterprise (802.1X) Wi-Fi#4174honor2016tw wants to merge 3 commits into
honor2016tw wants to merge 3 commits into
Conversation
Author
|
This builds on #3949, which introduced
SAE behaviour itself is unchanged, the same RSN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds WPA2/WPA3-Enterprise (802.1X) support to the network tab. Clicking an
enterprise network opens a credential form (EAP method, inner authentication,
identity, anonymous identity, server domain suffix, CA certificate path)
instead of the pre-shared-key password field, which cannot express an
enterprise login.
Scope is PEAP and TTLS with password-based inner authentication, on the
NetworkManager backend. EAP-TLS is not included.
Motivation
Closes #3216.
AccessPointInfocarried only asupportsSaeflag, so any secured AP that was not WPA3-Personal was treated asWPA2-PSK. An 802.1X network got a
wpa-pskprofile and a password prompt thatcould never authenticate, which is the retry loop reported in #3461 and #2454.
Type of Change
Related Issue
Closes #3216. Related: #3461, #2454.
Testing
Verified against a real WPA2-Enterprise network (eduroam). WPA3-Enterprise uses
the same
wpa-eapkey management and differs only in requiring PMF, which NMnegotiates on its own, so it should work unchanged. But I had no WPA3-Enterprise
AP to confirm that.
The generated profile was also cross-checked field by field against libnm's own
serialisation, including that
ca-certis a NUL-terminatedfile://bytestring rather than a plain path.
Manual Coverage
Screenshots / Videos
Checklist
CONTRIBUTING.md.just formatwith clang-format v22+ installed.assets/translations/en.json.Additional Notes
Known limitations:
under this too, NM refuses such a profile without
802-1x.client-cert, so itis rejected with an explicit message rather than failing obscurely.
INetworkServicegains the two entry pointsas defaulted virtuals following the existing opt-in pattern, so wpa_supplicant
and iwd are untouched and report the feature as unsupported.
again when it thinks a secret is wrong; a certificate or domain-suffix failure
just fails, so there is no signal to hook.