flathub / org.keepassxc.KeePassXC

https://flathub.org/apps/details/org.keepassxc.KeePassXC
27 stars 16 forks source link

Fix databases autolock when the user session is locked #108

Closed StayPirate closed 1 year ago

StayPirate commented 1 year ago

Fixes #107.

systemd-logind uses the standard DBus interface org.freedesktop.login1 to inform about locked session events. The mentioned interface is registered in the system DBus session. Unfortunately, the flatpak permissions for KPXC are not correctly set, hence KPXC won't never know that a session got locked and in turn it never locks open databases.

flathubbot commented 1 year ago

Started test build 26320

flathubbot commented 1 year ago

Build 26320 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/8981/org.keepassxc.KeePassXC.flatpakref
StayPirate commented 1 year ago

Build 26320 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/8981/org.keepassxc.KeePassXC.flatpakref

Hi @droidmonkey, I tested the build and it works as expected. Could you review and in case merge this PR?

droidmonkey commented 1 year ago

Done and thank you