Bug 66110 - GTK-UI + D-Bus: password not stored in GNOME keyring or KWallet
Summary: GTK-UI + D-Bus: password not stored in GNOME keyring or KWallet
Status: RESOLVED FIXED
Alias: None
Product: SyncEvolution
Classification: Unclassified
Component: KDE (show other bugs)
Version: 1.3.99.3
Hardware: x86 (IA32) Linux (All)
: high critical
Assignee: Patrick Ohly
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-24 07:32 UTC by promeneur
Modified: 2013-09-30 11:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description promeneur 2013-06-24 07:32:04 UTC
i created a sync between akonadi and funambol.

i supplied an id and a pwd to access to funambol
then
i see in .config/syncevolution/default/peers/funambol/config.ini
these 2 statements :

username = toto
password = titi

i searched in kwallet with keywords "sync" , "evo" and "funa"

there is no id and pwd relative to syncevolution funambol access
Comment 1 Patrick Ohly 2013-07-03 12:03:59 UTC
(In reply to comment #0)
> i created a sync between akonadi and funambol.
> 
> i supplied an id and a pwd to access to funambol
> then
> i see in .config/syncevolution/default/peers/funambol/config.ini
> these 2 statements :
> 
> username = toto
> password = titi
> 
> i searched in kwallet with keywords "sync" , "evo" and "funa"
> 
> there is no id and pwd relative to syncevolution funambol access

Did you explicitly select KWallet as storage for the password, with "keyring=kde" as described in the wiki?

https://syncevolution.org/wiki/kde-akonadi
Comment 2 promeneur 2013-07-03 12:54:17 UTC
Mandriva 2010.2 i586
kde 4.8.4

1. i exactly used by copy-past the statement from https://syncevolution.org/wiki/kde-akonadi

i only changed the collection's ids

2. to be sure

i delete ../.config/syncevolution
then
 i execute

[@localhost ~]$ syncevolution --configure                 keyring=KDE                 addressbook/backend=kde-contacts                 addressbook/database=akonadi:?collection=2                 calendar/backend=kde-calendar                 calendar/database=akonadi:?collection=262                 todo/backend=kde-tasks                 todo/database=akonadi:?collection=262                 @default addressbook calendar todo
[INFO] addressbook: looking for databases...
[INFO] addressbook: okay
[INFO] calendar: looking for databases...
[INFO] calendar: okay
[INFO] todo: looking for databases...
[INFO] todo: okay
[@localhost ~]$
 
then
i create a funambol sync service with "syncevolution admin" (sync-ui)
then
i click on "save and use"
then
no kwallet dialog
Comment 3 promeneur 2013-07-09 14:50:33 UTC
hello

this bug appears no more in my list of bug reports.

do you know what happens ?

tanks
Comment 4 Patrick Ohly 2013-07-09 15:05:57 UTC
(In reply to comment #3)
> hello
> 
> this bug appears no more in my list of bug reports.
> 
> do you know what happens ?

No. It's still open. I am not sure how to proceed, though. I am too busy to look into KDE issues myself at the moment and there are no other developers in the project looking after the KDE aspects.
Comment 5 promeneur 2013-07-09 15:50:23 UTC
i did not well explain.

i didn't ask for news but about a general pb : all the bug reports with status "needinfo" are not listed when you click on "my bugs"
Comment 6 Patrick Ohly 2013-07-09 16:06:11 UTC
(In reply to comment #5)
> i did not well explain.
> 
> i didn't ask for news but about a general pb : all the bug reports with
> status "needinfo" are not listed when you click on "my bugs"

That's how the "My Bugs" search is defined. I suppose you could file a freedesktop.org infrastructure issue and ask the admins to change that.
Comment 7 promeneur 2013-07-09 21:03:56 UTC
i searched for an admin contact but i didn't find any

thanks
Comment 8 Patrick Ohly 2013-07-10 07:08:02 UTC
(In reply to comment #7)
> i searched for an admin contact but i didn't find any

You can file a request here: https://bugs.freedesktop.org/enter_bug.cgi?product=freedesktop.org
Comment 9 promeneur 2013-07-24 17:16:48 UTC
i found this :

using command line to change password : kwallet is used

using sync-ui to change password : kwallet is not used
Comment 10 Patrick Ohly 2013-07-26 13:44:13 UTC
(In reply to comment #9)
> using command line to change password : kwallet is used
> 
> using sync-ui to change password : kwallet is not used

That's a very useful observation. 

After looking closer, it turned out to happen with all keyrings, not just with KWallet. The necessary code simply wasn't called.

I'm working on a fix.
Comment 11 Patrick Ohly 2013-09-30 11:20:29 UTC
The fix is about to land in 1.3.99.5. It took a lot longer that anticipated because it turned out that GNOME keyring was not working reliably when really used, so to get nightly tests to pass I had to find and implement a workaround.


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.