[SRU] Connect to WPA3 failed - Secrets were required, but not provided
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* using network-manager (20/stable - 711 + netplan backend) and try to connect to router with WPA3 Security fails via "nmcli"
* error message: "Error: Connection activation failed: (7) Secrets were required, but not provided."
* related to a problem with the generation of the netplan configuration, when key management is "sae"
* This breaks a customer setup in Ubuntu Core 20
* The upstream fix solves the issue, by avoiding a shortcut in libnetplan's NetworkManager/
[Test Plan]
* Use a system with NetworkManager+
* Create a WPA3 connection via "nmcli":
$ sudo nmcli c add con-name test3 type wifi ssid ubuntu-
Connection 'test3' (a89c5eb9-
$ sudo nmcli c modify test3 wifi-sec.key-mgmt sae wifi-sec.psk test1234
* Make sure it contains the psk/credentials ("test1234") and "key-mgmt: sae":
$ nmcli c show test3 --show-secrets | egrep "wireless-
802-11-
802-11-
802-11-
* Make sure the netplan YAML contains "networkmanager
$ netplan get | grep password
$ netplan get | grep key-mgmt
[Where problems could occur]
* The upload changes netplan's NetworkManager (keyfile) backend renderer. So any unexpected failure could break configuration of NetworkManager connection profiles via netplan.
[Other Info]
* upstream fix: https:/
* shipped as a hotfix in ppa:canonical-
* related to private bug, LP: #1972800
Changed in netplan.io (Ubuntu Focal): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in netplan.io (Ubuntu Jammy): | |
status: | New → Triaged |
importance: | Undecided → Medium |
It only affects the NetworkManager netplan integration in Ubuntu Core. So is only needed in LTS releases.
Fixed in Kinetic: https:/ /launchpad. net/ubuntu/ +source/ netplan. io/0.104- 0ubuntu4