Kwallet issues since Plasma 6

Hi everyone,

I have been suffering issues with Kwallet because aplications like Bitwarden or Cryptomator can’t save secrets on It. This behavior started when Manjaro was released with Plasma 6.

Having a look with Pacman I found that kwallet manager to QT5 (kwallet5) still installed:

pacman -Qs kwallet                                                                     ✔ 
local/ksshaskpass 6.0.5-1 (plasma)
    ssh-add helper that uses kwallet and kpassworddialog
local/kwallet 6.5.0-1 (kf6)
    Secure and unified container for user passwords
local/kwallet-pam 6.0.5-1 (plasma)
    KWallet PAM integration
local/kwallet5 5.116.0-1 (kf5)
    Secure and unified container for user passwords
local/kwalletmanager 24.05.2-1 (kde-applications kde-utilities)
    Wallet management tool
local/signon-kwallet-extension 24.05.2-1 (kde-applications kde-network)
    KWallet integration for signon framework

Looking for help on internet I found this issue. I found on It this path /usr/share/dbus-1/services. Checking in that path I also found both kwallet version:

ls /usr/share/dbus-1/services | grep kwallet 
org.kde.kwalletd5.service
org.kde.kwalletd6.service
org.kde.kwalletmanager5.service

Sould I remove kwalle5? How I can fix this?

So long as you use anything with qt5 you probably want plasma5-integration, which requires kio5, which requires kwallet5.

So

Most likely, no.

Anecdotally I still have it installed and dont have any wallet issues. Though all it really does here is keep network passwords saved in an encrypted way.

Im still not sure what the issue is.

So … the problem is that you attempt to integrate kwallet with these applications and it does not work? As in you encounter an error?
Or you previously used kwallet with these applications and it has begun producing errors?
What errors?

In general …

The majority of cases like these are the result of not ‘refreshing’ plasma after the upgrade - clearing old configs and cache.

The basics being

https://wiki.archlinux.org/title/KDE#Configuration_related

If you specifically have problems with the wallet then you might want to look for specific files related to that … or just simply using the GUI to remove and re-add your wallet keys.

2 Likes

Thanks you for your reply

I would like that any app be able to save secrets in Kwallet throw secret service API. Secret service API is enable to Kwallet, no problems there. However, so many apps like those mentioned before can’t work properly.

Yes. Logs just show me that they (applications) can’t access to tokens. Sorry, I thougt It would’n be so relevant but I will attach it for the next reply.

Ok, thanks, I will try with It.

Hello again!

Done, but issues persist.

I have taken notes about errors and issues I found:

- Bitwarden

I entered kwalletmanager password before logging in and Bitwarden aplication showed me:

- Syncing failed
- **Access Token Refresh Error**
No refresh token or API keys found. Please try logging out and logging back in.

Journald log:

|25/9/24 19:00|flatpak|19:00:18.523 › Error: No password found|
|25/9/24 19:00|flatpak|19:00:18.524 › Refresh token not found in secure storage. Access token will fail to refresh upon expiration or manual refresh.|
|25/9/24 19:00|flatpak|19:00:18.559 › Error refreshing access token:  Error: Cannot refresh access token, no refresh token or api keys are stored.|
|25/9/24 19:00|flatpak|19:00:18.783 › MAC comparison failed. Key or payload has changed.|

- Deja Dup

Giving up after 5 attempts. BackendException: rclone returned rc = 1: 2024/09/25 19:09:28 DEBUG : Setting --log-level "DEBUG" from environment variable RCLONE_LOG_LEVEL="DEBUG"
2024/09/25 19:09:28 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "lsf" "dejadupdrive:PC1"]
2024/09/25 19:09:28 DEBUG : Creating backend with remote "dejadupdrive:PC1"
Enter configuration password:
password:2024/09/25 19:09:28 Failed to read line: EOF

Journald log:

|25/9/24 19:07|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 307 and natural height 305 in measure() with for_size=-1; natural size must be >= min size|
|25/9/24 19:07|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 316 and natural height 305 in measure() with for_size=450; natural size must be >= min size|
|25/9/24 19:07|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 307 and natural height 305 in measure() with for_size=-1; natural size must be >= min size|
|25/9/24 19:07|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 316 and natural height 305 in measure() with for_size=450; natural size must be >= min size|
|25/9/24 19:07|kwalletd6|Using kwallet without parent window!|
|25/9/24 19:07|kwalletd6|kf.wallet.kwalletd: Failed to open wallet kdewallet Read error - possibly incorrect password.|
|25/9/24 19:07|kwalletd6|Using kwallet without parent window!|
|25/9/24 19:07|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 307 and natural height 305 in measure() with for_size=-1; natural size must be >= min size|
|25/9/24 19:07|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 316 and natural height 305 in measure() with for_size=450; natural size must be >= min size|
|25/9/24 19:07|systemd|Started kwalletmanager5.|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 307 and natural height 305 in measure() with for_size=-1; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 316 and natural height 305 in measure() with for_size=450; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 307 and natural height 305 in measure() with for_size=-1; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 316 and natural height 305 in measure() with for_size=450; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 307 and natural height 305 in measure() with for_size=-1; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 316 and natural height 305 in measure() with for_size=450; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 307 and natural height 305 in measure() with for_size=-1; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 316 and natural height 305 in measure() with for_size=450; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 307 and natural height 305 in measure() with for_size=-1; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 316 and natural height 305 in measure() with for_size=450; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 307 and natural height 305 in measure() with for_size=-1; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 316 and natural height 305 in measure() with for_size=450; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 307 and natural height 305 in measure() with for_size=-1; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 316 and natural height 305 in measure() with for_size=450; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 307 and natural height 305 in measure() with for_size=-1; natural size must be >= min size|
|25/9/24 19:09|user@1000.service|AdwBreakpointBin 0x55d883d41e90 (widget) reported min height 316 and natural height 305 in measure() with for_size=450; natural size must be >= min size|

I mistaked when I wrote in the first post that Cryptomator was giving issues too.

I am working with Wayland.