Skip to content

Add KDE KWallet D-Bus permissions for credential storage#661

Open
AnttiJalomaki wants to merge 1 commit intoflathub:masterfrom
AnttiJalomaki:fix/kde-kwallet-dbus-permissions
Open

Add KDE KWallet D-Bus permissions for credential storage#661
AnttiJalomaki wants to merge 1 commit intoflathub:masterfrom
AnttiJalomaki:fix/kde-kwallet-dbus-permissions

Conversation

@AnttiJalomaki
Copy link
Copy Markdown

Summary

  • Add --talk-name=org.kde.kwalletd5 and --talk-name=org.kde.kwalletd6 to finish-args
  • Fixes KDE users getting "OS keyring is not available for encryption" and credentials (e.g. GitHub login) not persisting across restarts

Context

VS Code detects KDE and attempts to use KWallet for credential storage, but the Flatpak sandbox blocks D-Bus access to the KWallet service. KDE 5 uses org.kde.kwalletd5, KDE 6 uses org.kde.kwalletd6 — both are added for compatibility.

The VSCodium Flatpak (com.vscodium.codium) already includes kwalletd5 in its manifest. The org.freedesktop.secrets talk-name already present is not sufficient on KDE desktops.

Tested on: Fedora 43, KDE Plasma 6.x — confirmed that adding the kwalletd6 talk-name via flatpak override --user resolves the issue.

Fixes #422

VS Code detects KDE and attempts to use KWallet for secure credential
storage, but the Flatpak sandbox blocks D-Bus access to the KWallet
service. This causes "OS keyring is not available for encryption" errors
and credentials (e.g. GitHub login) not persisting across restarts.

Add talk-name permissions for both kwalletd5 (KDE 5) and kwalletd6
(KDE 6). The org.freedesktop.secrets permission already present is not
sufficient on KDE desktops.

Fixes flathub#422
@flathubbot
Copy link
Copy Markdown
Contributor

🚧 Test build enqueued.

@flathubbot
Copy link
Copy Markdown
Contributor

🚧 Started test build.

@flathubbot
Copy link
Copy Markdown
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/273050/com.visualstudio.code.flatpakref

Built for aarch64 and x86_64 architectures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fix Requested] Add missing KDE session dbus permissions

2 participants