https://bugs.kde.org/show_bug.cgi?id=487348
Nicolas Fella <nicolas.fe...@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/fram | |eworks/kwallet/-/commit/425 | |cf15fc9116a1fc115dd52eb5537 | |c2eb5d66be --- Comment #6 from Nicolas Fella <nicolas.fe...@gmx.de> --- Git commit 425cf15fc9116a1fc115dd52eb5537c2eb5d66be by Nicolas Fella. Committed on 22/05/2024 at 20:11. Pushed by nicolasfella into branch 'master'. Fix secrets portal wallet access The current code checks whether the wallet is open and only if it's not calls openAsync However kwallet internally tracks which apps have openend the wallet and only gives access to those that have called open This works fine if the portal request triggered the opening of the wallet and subsequent access works, but if the wallet was opened by another app before any attempt to read from the wallet will fail To fix this always open the wallet before accessing. This allows to simplify the code since we then can tie a portal request to a KWallet transaction ID. Also consistently use xdg-desktop-portal as appid when making calls to kwallet M +11 -25 src/runtime/kwalletd/kwalletportalsecrets.cpp M +1 -3 src/runtime/kwalletd/kwalletportalsecrets.h https://invent.kde.org/frameworks/kwallet/-/commit/425cf15fc9116a1fc115dd52eb5537c2eb5d66be -- You are receiving this mail because: You are watching all bug changes.