SUMMARY Currently, Okular appears to get possible PDF passwords from KWallet [1]. Do you consider accepting a patch to use org.freedesktop.secrets? [1] https://invent.kde.org/graphics/okular/-/blob/v24.05.2/part/part.cpp#L1435 STEPS TO REPRODUCE 1. Open an encrypted PDF file OBSERVED RESULT Okular tries to get passwords from KWallet EXPECTED RESULT Okular tries to get passwords from from a org.freedesktop.secrets service SOFTWARE/OS VERSIONS Arch Linux with LXQt KDE Frameworks Version: 6.3 Qt Version: 6.7.2 ADDITIONAL INFORMATION Apparently KWallet also provides the org.freedesktop.secrets interface. I think the feature can be implemented by replacing KWallet-related codes with something using org.freedesktop.secrets (ex: QtKeychain)?
Why?
Ah, I forgot the main point: I use neither KDE nor kwalletd. Instead, I use KeePassXC as a cross-platform solution to manage all my secrets. That program also provides org.freedesktop.secrets service like kwalletd. If Okular supports org.freedesktop.secrets, I can just use KeePassXC instead of setting up another secrets service for PDF passwords.
Ok, i guess that makes some sense, I wouldnt' be against such feature.