[PATCH] DPP: Accept plain-text SSID in configurator parameter parsing
HungTsung Huang
Jason.Huang2 at infineon.com
Wed May 20 20:58:42 PDT 2026
On Mon, May 18, 2026 at 08:15:44PM +0200, Gustavo Bertoli wrote:
> This breaks flows where ssid is provided as plain text, for example
> via DPP configurator commands in integration environments that pass
> string
I agree the current approach is too broad and risks breaking existing users.
I plan to revise as follows:
- Introduce a new parameter, ssid_str=, for plain-text SSID.
- Parse ssid_str= in a separate branch from ssid=.
- Reject ambiguous input when both ssid= and ssid_str= are present in the same command.
> README-DPP mentions SSID-hexdump. Would this change be more extensive?
yes, will update user-facing documentation/help:
- Clarify that ssid= remains hex (backward-compatible).
- Document ssid_str= as opt-in plain-text convenience.
- Update CLI/help strings and README examples accordingly.
> Does test_dpp.py still pass with these changes?
Existing test_dpp.py behavior should remain unchanged with above approach.
Thanks for the review comments.
More information about the Hostap
mailing list