-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Prompt to insert yubikey if missing on autoreload #1869
Description
I've tested the "Tools-Settings->General->Automatically reload the database when modified externally"
Expected Behavior
On my Ubuntu box, KeePassXC 3.2.1, correctly detects a change made by KeePassXC 3.2.1 on Windows.
I use OwnCloud to synchronise between the two hosts. OwnCloud detects the change and automatically overwrites the old file on the host(s) where there was no changes made.
Current Behavior
On my Windows box, a similar change to the file made on the Linux box, isn't detected.
And I just double checked it again, the file is synchronizing correctly from Linux to Windows box. Timestamp and size is updated. KeePassXC on Windows still don't reload.
Possible Solution
KeepassXC on Windows should detect the change.
However, when, I did this, I first changed the database on Ubuntu, Windows didn't detect this, then I changed the database on Windows (without reloading). When I then made the change on Windows, the Ubuntu box picked up the change, but did NOT merge the file, with the one it had in memory. Thus the change on the Ubuntu box was lost (if it wasn't because I also enabled the "Backup database file before saving" and then did a manual merge).
Steps to Reproduce (for bugs)
Change file on one host
Wait and see if host2 (Windows) detects the changed file
Context
I wish to be able to use only one KDBX file across numerous devices. I use:
"Safely save database files"
"Backup database file before saving"
"Automatically save after every change"
"Automatically reload the database when modified externally"
It would be awesome, if KeePassXC would maintain a user defined number of timestamped/named backups (in case OwnCloud connection fails while doing simultaneous changes on the two hosts).
And it would be even more awesome, if the default action was to "merge" when doing an "Automatic reload".
Also, one smaller issue, is that the "merge" or "synchronize" behavior has changed, compared to KeePass 2. In KeePass 2, you would not be prompted for password / keyfile, if only they were the same, when doing a synchronize. In XC it seems to default to prompting regardless of this being identical.
Except from this, big kudos for some lovely and long awaited improvements over the original KeePass 2 and KeePassX. And I also sent a little donation.
Debug Info
KeePassXC - Version 2.3.1
Revision: 2fcaeea
Libraries:
- Qt 5.10.1
- libgcrypt 1.8.2
Operating system: Windows 10 (10.0)
CPU architecture: x86_64
Kernel: winnt 10.0.16299
Enabled extensions:
- Auto-Type
- Browser Integration
- Legacy Browser Integration (KeePassHTTP)
- SSH Agent
- YubiKey