-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passwords are **not** locked automatically after period of inactivity #142
Comments
I’ll need some more details. Do you use default autolock settings or did you change them? Also, did you switch your computer into sleep mode in between? I’ve noticed that Firefox doesn’t count sleep time towards the timeout. |
I use the default settings. I've not changed them or even clicked on the options. I both have and have not put my computer to sleep with no difference as I've gone hours working and it remains open. The database is open right now and the last time I opened it was yesterday. I work on my computer all day. Another possible angle: I have installed KeePassXC alongside PfP and also the KeePassXC-Browser extension, as I thought that was the plan ... to run them alongside so that I could use some of the other features of other KeePass apps. However, I've since changed settings so that XC is not started by default when I restart my computer. I've also disabled KeePassXC-Browser. So right now, there exists a db and only PfP can access it. Side note: the databases were created with PfP-host to make sure I benefit from PfP-host's default security settings and also to ensure compatibility. Side note 2: I can't say for sure if I've observed PfP ever timing out. But I have a feeling it hasn't. |
No, KeePassXC shouldn’t have any effect on PfP whatsoever. PfP definitely does time out for me on Firefox 119. I use Linux however, will try it out on Windows eventually. |
Looking at the source code, it appears you might have changed your timer function to use the browser's alarms API. If that is correct, and if this problem is specific to Firefox, then there is this: [Inconsistency of the Alarms API](https://discourse.mozilla.org/t/inconsistency-of-the-alarms-api/108906) |
No, there would only be an issue if alarms don’t fire – yet this report doesn’t explain why it would happen. |
Linux does not work for me. I tried it in both Firefox and Vivaldi on MX Linux 23.1, which is based on Debian 12.2 "Bookworm." Both are the latest versions. Firefox comes installed by default on MX Linux 23.1. I separately installed Vivaldi using the MX Linux Package installer. Specifically, I started with Firefox. Entered my master password. Used PfP to log into a site. I then waited 12 minutes. When I clicked on PfP it came up with the db open and ready to fill passwords. I then switched over to Vivaldi and repeated the above process only I waited 15 minutes. Same result. PfP never asked me for my masterpassword and was ready to fill in and I performed the fill. Of course the default timer setting is for 10 minutes and it is set, i.e., checked / enabled as it should be. Since it fails in both browser bases (Firefox/Chrome), the problem is probably not related to the browser alarms API because ... what are the odds? Though, it is possible that this is hardware specific as I'm using the same machine in all cases where it fails
(Edit: As a sanity check, I installed a separate timer extension in Firefox (in Windows 10). I set a timer for 5 minutes and took focus away from the browser. This worked. Though I don't know if the author of this extension used the browser's alarms API. I'll see if I can figure that out.) |
Update. On Firefox in Windows it is now sometimes working, sometimes not. I've noticed that Firefox has been updated to 119.0.1 from 119. Unfortunately, it is still not working in Linux. I'll keep an eye on this and report as needed. |
I'm now back to where I have access to another machine, also Windows 10 Pro and Firefox 120. This problem persists there after initially installing PfP and its host app. This is odd because it resolved itself 1 in the original computer above, same OS. Footnotes
|
In Linux, on a tower workstation computer, I had a perplexing experience where the database remained open through a reboot cycle. Details Should this not be alarming? If it helps, this is a LUKS encrypted OS and home directory. Please feel free to log this as a separate issue if you wish, or ask and I will log it. |
Are you certain that we are talking about the same browser extension? |
I installed the PfP extension that's new and uses KeePass databases v4 which supports Argon (3.1.x..). In Linux I never installed the legacy version. I have KeePassXC and 'XC-Browser installed but only one extension is enabled at a time under "Manage extensions." Only PfP was enabled and working before and after the reboot.
If it matters, this occurred on an installed Linux environment (not live as it would have to be persistent) booting from an external USB 3.1 NGFF external SATA SSD. I doubt it matters. |
Title says it all.
Everything else is working perfectly.
Firefox version: 119.0 (64-bit) (latest)
OS: Windows 10 Pro Version 10.0.19045 Build 19045
Other things that could possibly affect PfP's operation:
Thanks
The text was updated successfully, but these errors were encountered: