Bug 514271

Summary: KRDC should switch from KWallet to QtKeychain
Product: [Applications] krdc Reporter: m.kurz
Component: generalAssignee: Urs Wolfer <uwolfer>
Status: RESOLVED FIXED    
Severity: normal CC: m.kurz
Priority: NOR    
Version First Reported In: 25.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description m.kurz 2026-01-07 13:00:36 UTC
For better integration with the Security Service API.
KSSHAskPass recently also switched already: https://invent.kde.org/plasma/ksshaskpass/-/merge_requests/32/diffs

By doing that users will be able to switch from KWallet to the a security service provider by settings QTKEYCHAIN_BACKEND=libsecret see:
https://github.com/frankosterfeld/qtkeychain/commit/b33e98f56b3b1cabb2e2d61c61a2ed9e165e6e0b
Comment 1 m.kurz 2026-01-07 13:09:34 UTC
All the read/write password happens in https://invent.kde.org/network/krdc/-/blob/master/core/remoteview.cpp so I guess migration should be easy.
Comment 2 m.kurz 2026-01-07 13:09:57 UTC
(In reply to m.kurz from comment #1)
> All the read/write password happens in
> https://invent.kde.org/network/krdc/-/blob/master/core/remoteview.cpp so I
> guess migration should be easy.

Just look at m_wallet
Comment 3 Bug Janitor Service 2026-01-09 14:10:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/krdc/-/merge_requests/220
Comment 4 Fabio 2026-01-14 21:36:24 UTC
Git commit 22aa8616274cb43a100ffe6c5cbb4e53dac16a53 by Fabio Bas.
Committed on 14/01/2026 at 21:36.
Pushed by ctrlaltca into branch 'master'.

Switch from KWallet to QtKeychain

M  +81   -63   .flatpak-manifest.json
M  +1    -1    .kde-ci.yml
M  +12   -11   CMakeLists.txt
M  +1    -1    config/general.ui
M  +7    -6    core/CMakeLists.txt
M  +1    -1    core/hostpreferences.cpp
M  +52   -28   core/remoteview.cpp
M  +0    -2    core/remoteview.h
M  +0    -1    rdp/CMakeLists.txt
M  +0    -1    test/CMakeLists.txt
M  +0    -1    vnc/CMakeLists.txt

https://invent.kde.org/network/krdc/-/commit/22aa8616274cb43a100ffe6c5cbb4e53dac16a53