Bugzilla – Bug 1221408
Plasma6: Nextcloud can't access credentials anymore
Last modified: 2024-03-18 07:19:23 UTC
After the update to Plasma6, the nextcloud client cannot obtain login credentials via kdewallt anymore. It keeps poping up the Login page, but even after logging in in the Browser, the application remains logged out.
what's the output of `zypper se -i signon` ?
> phoenix@racetrack-7290:~> zypper se -i signon > Loading repository data... > Reading installed packages... > > S | Name | Summary | Type > --+--------------------------+------------------------------------------------+-------- > i | libsignon-qt5-1 | Single Sign On Framework for Qt | package > i | libsignon-qt6-1 | Single Sign On Framework for Qt | package > i | signon-kwallet-extension | KWallet integration for signon framework | package > i | signon-plugin-oauth2 | Oauth2 plugin for the Single Sign On Framework | package > i | signon-plugins | Plugins for the Single Sign On Framework | package > i | signon-ui | Single Sign On UI | package > i | signond | Single Sign On Framework | package > i | signond-libs | Single Sign On Framework | package
Re-logging in works for the time being but one needs to do this every time the client starts now. It makes it somehow usable thought.
there's something you can try to get more info: run systemsettings in a terminal / online accounts and retry to add your nc account I'm testing with a demo account, I could add it and I get the notification about kded6 willing to use my default wallet to store the password
Wait, I'm talking about the nextcloud Desktop client, not the integration in the system settings.
Ah! reassigning then. Thanks for the feedback.
I tried with nextcloud-desktop / added the demo account and I get the authorization message to let it use kdewallet. After restarting my session, it wanted to be allowed again to access the wallet, but the credentials were still saved.
Do you have pam_kwallet6 installed?
(In reply to Christophe Marin from comment #8) > Do you have pam_kwallet6 installed? Yes I have: > phoenix@starbuck:~> zypper se -s kwallet > Loading repository data... > Reading installed packages... > > S | Name | Type | Version | Arch | Repository > ---+--------------------------+---------+-------------+--------+----------------------------------- > i | kf6-kwallet | package | 6.0.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > | kf6-kwallet-devel | package | 6.0.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > | kf6-kwallet-tools | package | 6.0.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > | kf6-kwallet-tools-lang | package | 6.0.0-1.1 | noarch | openSUSE-Tumbleweed-Oss (20240311) > i | kwallet-devel | package | 5.115.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > i | kwallet-tools | package | 5.115.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > i | kwallet-tools-lang | package | 5.115.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > | kwalletd5 | package | 5.115.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > | kwalletd5-lang | package | 5.115.0-1.1 | noarch | openSUSE-Tumbleweed-Oss (20240311) > i | kwalletd6 | package | 6.0.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > i | kwalletd6-lang | package | 6.0.0-1.1 | noarch | openSUSE-Tumbleweed-Oss (20240311) > i | kwalletmanager | package | 24.02.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > i | kwalletmanager-lang | package | 24.02.0-1.1 | noarch | openSUSE-Tumbleweed-Oss (20240311) > | kwalletmanager5 | package | 23.08.4-2.2 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > | kwalletmanager5-lang | package | 23.08.4-2.2 | noarch | openSUSE-Tumbleweed-Oss (20240311) > i | libkwalletbackend5-5 | package | 5.115.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > i | libsvn_auth_kwallet-1-0 | package | 1.14.3-1.4 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > | pam_kwallet | package | 5.27.10-1.2 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > | pam_kwallet-32bit | package | 5.27.10-1.2 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > | pam_kwallet-common | package | 5.27.10-1.2 | noarch | openSUSE-Tumbleweed-Oss (20240311) > i+ | pam_kwallet6 | package | 6.0.1-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > i | pam_kwallet6-common | package | 6.0.1-1.1 | noarch | openSUSE-Tumbleweed-Oss (20240311) > | remmina-plugin-kwallet | package | 1.4.33-1.2 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) > i | signon-kwallet-extension | package | 24.02.0-1.1 | x86_64 | openSUSE-Tumbleweed-Oss (20240311) I just tried to delete the whole configuration from ~/.local and ~/.config and the problem still persists after a fresh start. I also never get an authorization message from the nextcloud client to access kwallet. In the Wallet Manager I see Nextcloud credentials however.
I suspect this is related to boo#1221461 Do you use a nonstandard named wallet? Do other applications access the wallet fine?
I use a wallet named "kdewallet" and other applications work just fine - namely Dolphin and VLC who both require SMB credentials provided by kwallet.
Updating to snapshot 20240314 seems to fix the issue. I will check tomorrow also on my work laptop and report back, but on this machine the issue seems to be gone.
After having a second look I also think this is a duplicate of http://bugzilla.opensuse.org/show_bug.cgi?id=1221461. I'm at TW 20240311. After a reboot, the nextcloud Desktop client is in the state "Asking credentials" and opens the authorization link after some time. It looks like that it fails to unlock the KDE Wallet. If I manually open the KDE Wallet, and then open the nextcloud desktop client however, then it obtains the credentials and works just fine. So, I'm closing this as duplicate of http://bugzilla.opensuse.org/show_bug.cgi?id=1221461 *** This bug has been marked as a duplicate of bug 1221461 ***