GNOME Bugzilla – Bug 733002
[review] dcbw/tui-password-fixes: nmtui-edit fails to save wireless psk passphrase
Last modified: 2014-09-19 18:57:15 UTC
Version: 0.9.10.0 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754382 nmtui does not save wireless passphrase to profile. Configuration file for connection doesn't contain 'psk=' line after editing with nmtui. Editing connection with nmcli was successful, psk can be set and saved.
For completeness sake: the connections are stored using the keyfile plugin
Additional information: The Wi-Fi connection was created using nmtui-edit. Here saving the passphrase fails. When using nmtui-connect to create a new connection, the psk is saved correctly.
Fixes in dcbw/tui-password-fixes
> tui: fix requesting and displaying secrets It leaks the copied secrets now. But I was thinking, maybe a simpler solution would be to add a public user_data field to NmtSyncOp, and then build_edit_connection() can set that to edit_connection, and then got_secrets() can call nm_connection_update_secrets() itself. Except that now that I look, we'd need to pass both edit_connection AND setting_name so that won't actually work. Meh. OK, so just remember to free the passed-back secrets hash. The other patch looks right.
Fixed the leakage and merged to master and nm-0-9-10