Bug 1221408 - Plasma6: Nextcloud can't access credentials anymore
Summary: Plasma6: Nextcloud can't access credentials anymore
Status: RESOLVED DUPLICATE of bug 1221461
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Network (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-14 13:39 UTC by Felix Niederwanger
Modified: 2024-03-18 07:19 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Niederwanger 2024-03-14 13:39:01 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.
Comment 1 Christophe Marin 2024-03-14 14:21:48 UTC
what's the output of `zypper se -i signon` ?
Comment 2 Felix Niederwanger 2024-03-14 14:34:11 UTC
> 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
Comment 3 Felix Niederwanger 2024-03-14 15:12:48 UTC
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.
Comment 4 Christophe Marin 2024-03-14 15:20:28 UTC
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
Comment 5 Felix Niederwanger 2024-03-14 15:30:28 UTC
Wait, I'm talking about the nextcloud Desktop client, not the integration in the system settings.
Comment 6 Christophe Marin 2024-03-14 15:33:38 UTC
Ah! reassigning then. Thanks for the feedback.
Comment 7 Christophe Marin 2024-03-14 15:54:53 UTC
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.
Comment 8 Christophe Marin 2024-03-14 16:05:13 UTC
Do you have pam_kwallet6 installed?
Comment 9 Felix Niederwanger 2024-03-17 08:19:08 UTC
(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.
Comment 10 Benjamin Greiner 2024-03-17 17:48:31 UTC
I suspect this is related to boo#1221461

Do you use a nonstandard named wallet? Do other applications access the wallet fine?
Comment 11 Felix Niederwanger 2024-03-17 18:41:05 UTC
I use a wallet named "kdewallet" and other applications work just fine - namely Dolphin and VLC who both require SMB credentials provided by kwallet.
Comment 12 Felix Niederwanger 2024-03-17 19:04:32 UTC
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.
Comment 13 Felix Niederwanger 2024-03-18 07:19:23 UTC
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 ***