[Bug 959806] New: kwallet asks multiple times for password
http://bugzilla.opensuse.org/show_bug.cgi?id=959806 Bug ID: 959806 Summary: kwallet asks multiple times for password Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: axel.braun@gmx.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 659948 --> http://bugzilla.opensuse.org/attachment.cgi?id=659948&action=edit 3 Windows want the same password! After upgrading from 13.1 to Leap, there is obviously a new password-manager, and a migration tool active. Despite the fact that I have logged in multiple times since the upgrade, kwallet fires always multiple windows with he password request (3 in this case). This is somewhat annoying . and proves for a short passphrase! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c1
Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c2
--- Comment #2 from Axel Braun
Here's what I did:
Firstly, I ran kwalletmanager (which is from KDE4), and made sure that it was configured to keep kwallet open. That is, I unchecked the box to close the wallet when the last application stops using it. Actually, that was already set since that's what I did in earlier versions.
Then I installed "kwalletmanager5" (which requires uninstalling the KDE4 version). Then, running kwalletmanager5, I set it to keep kwallet open.
Thanks for the hints Neil, So we have obviously an upgrade problem between KDE 4 and 5. I followed your steps but run into an error when starting kwalletmanager5: 520:/home/docb # kwalletmanager5 QStandardPaths: wrong ownership on runtime directory /run/user/0, -2 instead of 0 "Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)" T520:/home/docb # Will look at this later... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c3
Wolfgang Bauer
So we have obviously an upgrade problem between KDE 4 and 5.
Which you should preferrably report upstream at http://bugs.kde.org/. We don't develop the software, we just package it. And we don't have the resources to investigate and maybe even fix every single bug in it...
I followed your steps but run into an error when starting kwalletmanager5:
520:/home/docb # kwalletmanager5 QStandardPaths: wrong ownership on runtime directory /run/user/0, -2 instead of 0 "Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)" T520:/home/docb #
You are trying to run it as root. Don't! This won't work. You have to run it as user. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c4
--- Comment #4 from Axel Braun
(In reply to Axel Braun from comment #2)
So we have obviously an upgrade problem between KDE 4 and 5.
Which you should preferrably report upstream at http://bugs.kde.org/.
Will do! [...]
520:/home/docb # kwalletmanager5 QStandardPaths: wrong ownership on runtime directory /run/user/0, -2 instead of 0 "Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)" T520:/home/docb #
You are trying to run it as root. Don't! This won't work.
You have to run it as user.
You are right, of course! Nevertheless, I still have to enter the PW 3 times, despite using kwalletmanager5. And still the migration assistant is active...I dont think we need him anymore -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c5
--- Comment #5 from Wolfgang Bauer
Nevertheless, I still have to enter the PW 3 times, despite using kwalletmanager5. And still the migration assistant is active...I dont think we need him anymore
The migration assistant should only run once. When the wallet is migrated, it should not appear any more. So did you enter the wallet password for the migrator? Did you choose to migrate the wallet? I never had a problem with this, but I always use empty passwords so there is no password dialog at all... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c6
--- Comment #6 from Axel Braun
The migration assistant should only run once. When the wallet is migrated, it should not appear any more.
So did you enter the wallet password for the migrator? Did you choose to migrate the wallet?
I hardly can rememberthat I was asked - but in the current state, with kwalletmanager5, it looks good...
I never had a problem with this, but I always use empty passwords so there is no password dialog at all...
:-) do you know by chance the script name for the migrator? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c7
--- Comment #7 from Neil Rickert
And still the migration assistant is active...I dont think we need him anymore
I had that problem on one system, but not on the others. I've also seen a couple of forum posts about it. I'm not sure what conditions cause it to happen. In any case, there's an easy workaround. As the user, edit ".config/kwalletrc" (that's relative to the user home directory). Then insert three lines at the top: --- clip here --- [Migration] alreadyMigrated=true --- end clip --- After that, it won't try to migrate again. (Maybe first check if there is already a "Migration" section in the file). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c8
--- Comment #8 from Axel Braun
And still the migration assistant is active...I dont think we need him anymore
I had that problem on one system, but not on the others. I've also seen a couple of forum posts about it. I'm not sure what conditions cause it to happen.
In any case, there's an easy workaround.
As the user, edit ".config/kwalletrc" (that's relative to the user home directory). Then insert three lines at the top: --- clip here --- [Migration] alreadyMigrated=true
--- end clip ---
After that, it won't try to migrate again. (Maybe first check if there is already a "Migration" section in the file).
That fixed it, thanks! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
Stakanov Schufter
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c9
--- Comment #9 from Stakanov Schufter
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c10
--- Comment #10 from Axel Braun
As the user, edit ".config/kwalletrc" (that's relative to the user home directory). Then insert three lines at the top: --- clip here --- [Migration] alreadyMigrated=true
--- end clip ---
That fixed it, thanks!
Well, its not really fixed, but it only asks 2 times now: After the system start, for the WIFI (kded5), and as soon as I start kontact, it asks again. Setting in Walletmanager is to keep it up and running all the time! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c11
--- Comment #11 from Stakanov Schufter
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c12
--- Comment #12 from Neil Rickert
Well, its not really fixed, but it only asks 2 times now: After the system start, for the WIFI (kded5), and as soon as I start kontact, it asks again.
That's as good as you can expect. WiFi opens the wallet from Plasma 5. And Kontact opens the wallet from KDE4. Evenually, there should be an updated Kontact that is based on Plasma 5. When that is in place, you should only have the one request to open kwallet. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=959806
http://bugzilla.opensuse.org/show_bug.cgi?id=959806#c13
Tomáš Chvátal
participants (1)
-
bugzilla_noreply@novell.com