Summary: | libsecret migration | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Stef Walter <stefw> |
Component: | mission-control | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | WIP patch to migrate to libsecret |
Description
Stef Walter
2012-07-13 13:12:27 UTC
Oh, and it's not a problem for libsecret to read passwords stored by libgnome-keyring and vs. versa, if you use the SECRET_SCHEMA_DONT_MATCH_NAME flag in the schema, which the patch does. BTW, just a heads up: Please look at the patch critically. I did the patch as a way to try out the API, and it's not ready to commit. There may be memory leaks or other logic errors. Most libsecret getters return data that must be unreferenced or freed. Isn't SASL API mandatory now? Maybe now is a good time to remove keyring support from MC? (In reply to comment #3) > Isn't SASL API mandatory now? Maybe now is a good time to remove keyring > support from MC? I would prefer to delete keyring support rather than making it use libsecret. That's Bug #32578, blocked by Bug #42088. To delete keyring support we might still need to link libgnome-keyring for a short time (one GNOME release?), in order to migrate the old passwords from the keyring to new storage, and delete them from their old location. Perhaps *that* can migrate to libsecret (it should be less code, and in a less tricky code path). Bug #27496, Bug #27981 probably go away (or at least become someone else's problem) once keyring support has gone. (In reply to comment #4) > (In reply to comment #3) > > Isn't SASL API mandatory now? Maybe now is a good time to remove keyring > > support from MC? > > I would prefer to delete keyring support rather than making it use libsecret. > That's Bug #32578, blocked by Bug #42088. Agreed. > To delete keyring support we might still need to link libgnome-keyring for a > short time (one GNOME release?), in order to migrate the old passwords from the > keyring to new storage, and delete them from their old location. Perhaps *that* > can migrate to libsecret (it should be less code, and in a less tricky code > path). Empathy has migration code since a while so I wouldn't bother tbh. Any update on this ? has keyring support been removed by now ? Bug #32578 is the removal of GNOME Keyring support. Build with --disable-gnome-keyring if you want a head start. I don't think we need to bother with a migration step: Empathy already attempts migration, and no longer supports the Python connection managers that can't do interactive password prompting. *** This bug has been marked as a duplicate of bug 32578 *** |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.