]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
wifi-scripts: quote dpp_connector in the station config
authorFelix Fietkau <nbd@nbd.name>
Fri, 10 Jul 2026 12:50:23 +0000 (14:50 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 16 Jul 2026 09:50:22 +0000 (11:50 +0200)
dpp_connector was emitted unquoted, but wpa_supplicant parses it as a
string and hex-decodes an unquoted value; a base64url connector then failed
to parse and the network block was rejected. Emit it via the quoted-string
list. dpp_csign/dpp_netaccesskey stay raw, as they are hex.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/supplicant.uc

index 66496dee673217d9c2255c3b6266eaa0b97282de..fe1d24fcb35651efba71a9c732b867e7adbffe88 100644 (file)
@@ -234,6 +234,7 @@ function setup_sta(data, config) {
                'domain_match', 'domain_match2',
                'domain_suffix_match', 'domain_suffix_match2',
                'private_key', 'private_key_passwd', 'private_key2', 'private_key2_passwd',
+               'dpp_connector',
                 ]);
        network_append_vars(config, [
                'rsn_overriding', 'scan_ssid', 'noscan', 'disabled', 'multi_ap_profile', 'multi_ap_backhaul_sta',
@@ -242,7 +243,7 @@ function setup_sta(data, config) {
                'disable_ht', 'disable_ht40', 'disable_vht', 'vht', 'max_oper_chwidth',
                'ht40', 'beacon_int', 'ieee80211w', 'rates', 'mesh_basic_rates', 'mcast_rate',
                'bssid_blacklist', 'bssid_whitelist', 'erp', 'eap', 'phase2',
-               'dpp_connector', 'dpp_csign', 'dpp_netaccesskey',
+               'dpp_csign', 'dpp_netaccesskey',
        ]);
 }