Bug 363451

Summary: Commit 58a8036 breaks existing wallets for some users
Product: [Frameworks and Libraries] frameworks-kwallet Reporter: Antonio Rojas <arojas>
Component: generalAssignee: Valentin Rusu <valir>
Status: RESOLVED DOWNSTREAM    
Severity: major CC: accounts+bugs.kde, cousinmarc, darkbasic, faure, gajdos.mirek, kdelibs-bugs, teet.talviste, tschenturs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: https://bugs.archlinux.org/task/49452
Latest Commit: Version Fixed In:

Description Antonio Rojas 2016-05-23 22:44:43 UTC
After backporting commit 58a8036 to the Arch kwallet package we're getting a few reports of users not being able to access their existing wallets

Reproducible: Sometimes
Comment 1 darkbasic 2016-05-23 23:10:13 UTC
Please let me know where to look for additional details if you need them. The only information I can give you atm is the wallet type: blowfish.
Comment 2 darkbasic 2016-05-23 23:11:57 UTC
Another information: my installation is quite recent (less than ~1 month old), so my wallet is pretty new.
Comment 3 Urs Joss 2016-05-24 03:43:38 UTC
Hi, same here. My installation goes back to at least 2014-11 (kwallet-5.3.0)
Comment 4 Urs Joss 2016-05-24 03:55:03 UTC
Some more details from me: also archlinux x86-64, standard blowfish encryption for kwallet.

=== snip systemctl ==
Mai 24 05:45:27 dumbo kwalletd5[7129]: Setting useNewHash to true
Mai 24 05:45:27 dumbo kwalletd5[7129]: Wallet new enough, using new hash
Mai 24 05:45:27 dumbo kwalletd5[7129]: fsize:  1234785062  encrypted.size():  96992  blksz:  8
Mai 24 05:45:27 dumbo kwalletd5[7129]: Application ' "akonadi_googlecontacts_resource_0" ' using kwallet without parent window!
=== snap ===

=== snip .xsession-errors ===
[8001:8018:0524/054636:ERROR:object_proxy.cc(580)] Failed to call method: org.kde.KWallet.open: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[8001:8018:0524/054636:ERROR:native_backend_kwallet_x.cc(1029)] Error contacting kwalletd5 (open)
=== snap ===

I managed to restore correct behavior by downgrading from kwallet-5.22.0-2 to kwallet-5.22.0-1 which differs in two was:

- removal of -DKDE_INSTALL_USE_QT_SYS_PATHS=ON (https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/kwallet&id=9ae12fc268f0a14185dc3ddf7f08ced69d43ce1d)
- Application of migration patch 49452 (https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/kwallet&id=7385a6e6619faf816b81a1aedd96464589c558eb)

Thanks and cheers
urs
Comment 5 Antonio Rojas 2016-05-24 14:50:32 UTC
Packaging issue, sorry for the noise