mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-08 18:38:22 +02:00
Rework the explicit implementation of NM_SETTING_802_1X_PASSWORD_RAW handling to generically handle GBytes properties. Note that the NM_SETTING_802_1X_PASSWORD_RAW setter accepts a legacy format where hex-words are separated by space. I don't think we want to support this format for new options. So, there are two possibilities: 1) either leave _set_fcn_802_1x_password_raw() as-is, with the special handling. 2) interpret a property-data gobject_bytes.legacy_format. 1) seems to make more sense, because there is only one such property, and we won't use this for new properties. However let's do 2), because it shows nicely the two styles side-by-side. In other words, let's password-raw also be a _pt_gobject_bytes typed property, with some special legacy handling. Instead, of having it an entirely separate property type (with a different setter implementation). I think it's better to have the parts where they differ pushed down (the "stack") as much as possible. |
||
|---|---|---|
| .. | ||
| tests | ||
| meson.build | ||
| nm-client-utils.c | ||
| nm-client-utils.h | ||
| nm-meta-setting-access.c | ||
| nm-meta-setting-access.h | ||
| nm-meta-setting-desc.c | ||
| nm-meta-setting-desc.h | ||
| nm-polkit-listener.c | ||
| nm-polkit-listener.h | ||
| nm-secret-agent-simple.c | ||
| nm-secret-agent-simple.h | ||
| nm-vpn-helpers.c | ||
| nm-vpn-helpers.h | ||
| settings-docs.h.in | ||
| settings-docs.xsl | ||