[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#863844: all my passwords are gone



Hello Tomas.

Tomas Pospisek - 06.02.18, 21:30:
> just as Rainer reported:
> 
> * before upgrading from jessie to stretch I've checked the release notes
>    there seems to be no mention of kwallet in the notes
> * then I've upgraded from jessie to stretch
> * when I start kwalletmanager it comes up empty
>    * all my passwords seem to be gone
> * when I select File -> Import a wallet, nothing happens, no dialog shows up
> * when I select File -> Import XML, nothing happens, no dialog shows up
> 
> I think this bug report by Rainer should have had severity critical and
> have blocked kwalletmanager from entering stretch.

I disagree, see below.

> At this point I do not know how to recover the passwords from kwallet.
> Looks like 100% data loss at this point.

Kwalletmanager from Plasma 5 does not delete the original KDE SC 4 KWallet 
files. So I think it is safe to say the *.kwl files in ~/.kde/share/apps/
kwallet are still there.

For some reason the migration failed on your system, but AFAIK you can repeat 
the attempt to migrate as many times as you like. I think it is sufficient to 
remove the first two lines from the config file of the kwalletmanager from 
Plasma 5.

~/.config> head -2 kwalletrc
[Migration]
alreadyMigrated=true

and restart kwalletmanager. There was a blog post from KWallet Manager but, I 
cannot access it currently.[0]

But really, this is user support, so please ask in debian-kde mailing list for 
help on how to successfully migrate it. If you then find a solution, then feel 
free to add it to the bug report.

Again, I am nearly 100% sure that there is no data loss. So a severity of 
critical is not justified¹. I totally get that you are frustrated, but please 
first check whether your old kwalletmanager from KDE SC 4 *.kwl files are 
still there before setting the bug severity based on assumptions.

Please note that this is also an upstream issue, so you can help by 
researching in the upstream bug tracker² for a bug about it. If you find one, 
please add information about it to this bug report. Well I searched there for 
"kwalletmanager migration", but found no obvious fit for your bug 
description³. But please look for yourself and probably try out different 
search terms.

I am not even sure whether the file format changed. Maybe its even sufficient 
to copy the kwl files over to the new location, but that might not be enough. 
I had issues with migration for one of my users, but I fixed them long ago and 
do not remember exactly what I did. The new location is: ~/.local/share/
kwalletd

[0] https://barlog.rusu.info/valentin/blog/?p=300 

[1] https://www.debian.org/Bugs/Developer#severities

[2] https://bugs.kde.org

[3] https://bugs.kde.org/buglist.cgi?quicksearch=kwallet%20migration

Thank you,
-- 
Martin


Reply to: