diff options
author | Claudio Saavedra <csaavedra@igalia.com> | 2013-02-19 19:16:55 +0800 |
---|---|---|
committer | Claudio Saavedra <csaavedra@igalia.com> | 2013-03-05 14:15:23 +0800 |
commit | 1f50ff47f0ea156e43d8b0ef4977f0b5a2e6ce48 (patch) | |
tree | a8973325969bfe183bfccd38b21200ef5070ba9d /lib/ephy-profile-migrator.c | |
parent | e9a3741f4039cfdb9b05ac2caf7cc642fa69b608 (diff) | |
download | gsoc2013-epiphany-1f50ff47f0ea156e43d8b0ef4977f0b5a2e6ce48.tar gsoc2013-epiphany-1f50ff47f0ea156e43d8b0ef4977f0b5a2e6ce48.tar.gz gsoc2013-epiphany-1f50ff47f0ea156e43d8b0ef4977f0b5a2e6ce48.tar.bz2 gsoc2013-epiphany-1f50ff47f0ea156e43d8b0ef4977f0b5a2e6ce48.tar.lz gsoc2013-epiphany-1f50ff47f0ea156e43d8b0ef4977f0b5a2e6ce48.tar.xz gsoc2013-epiphany-1f50ff47f0ea156e43d8b0ef4977f0b5a2e6ce48.tar.zst gsoc2013-epiphany-1f50ff47f0ea156e43d8b0ef4977f0b5a2e6ce48.zip |
ephy-profile-utils: migrate ephy_profile_utils_store/query_form_auth_data() to libsecret
We add a new SecretSchema that is specific to epiphany and intended
solely to store passwords for webforms. This is a better approach than
hacking the server url in order to store the names of the forms in it.
These methods are only used by EphyWebView to store the passwords and
to retrieve the password when there is a cache match and by one of the
early stages of password migration in the profile-migrator. If only this
patch is applied, it is likely that only newly saved patchs will work
properly, but others will remain intact.
https://bugzilla.gnome.org/show_bug.cgi?id=679918
Diffstat (limited to 'lib/ephy-profile-migrator.c')
-rw-r--r-- | lib/ephy-profile-migrator.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/ephy-profile-migrator.c b/lib/ephy-profile-migrator.c index 35d2f8dcf..43f36a781 100644 --- a/lib/ephy-profile-migrator.c +++ b/lib/ephy-profile-migrator.c @@ -298,10 +298,11 @@ parse_and_decrypt_signons (const char *signons, char *u = soup_uri_to_string (uri, FALSE); /* We skip the '*' at the beginning of form_password. */ _ephy_profile_utils_store_form_auth_data (u, - form_username, - form_password+1, - username, - password); + form_username, + form_password+1, + username, + password, + NULL, NULL); g_free (u); } else if (!handle_forms && realm && username && password && |