You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I mount a network (smbfs) filesystem with an already open database file present on it, KeepassXC detects that the database was not modified since the last time it was opened and takes no special action.
Current Behavior
KeepassXC shows a dialog asking to merge the database with the database file every time the network filesystem gets (re)mounted.
Possible Solution
Compare date/time and hash of database file to see if a merge is necessary.
Steps to Reproduce
Mount a smbfs filesystem
Open a database in KeepassXC
Unmount and remount the filesystem
Open KeepassXC
Context
I'm mounting three smbfs filesystems on my Mac and every time my network switches (e.g. from LAN to WiFi, VPN, etcetera) a script runs to check if the filesystems are still mounted correctly. If not, they are remounted. This causes KeepassXC to prompt me to merge the database file every time.
This is a result of doing strict hash checking. If the file cannot be opened for hashing, we clear the hash cache. Once the file is opened again we compare the blank hash with the actual hash and it always comes up different. This results in the merge prompt. Simple fix, we shouldn't be clearing the known hash on failure to open the file.
Expected Behavior
When I mount a network (
smbfs
) filesystem with an already open database file present on it, KeepassXC detects that the database was not modified since the last time it was opened and takes no special action.Current Behavior
KeepassXC shows a dialog asking to merge the database with the database file every time the network filesystem gets (re)mounted.
Possible Solution
Compare date/time and hash of database file to see if a merge is necessary.
Steps to Reproduce
smbfs
filesystemContext
I'm mounting three
smbfs
filesystems on my Mac and every time my network switches (e.g. from LAN to WiFi, VPN, etcetera) a script runs to check if the filesystems are still mounted correctly. If not, they are remounted. This causes KeepassXC to prompt me to merge the database file every time.Debug Info
KeePassXC - Version 2.5.2
Revision: 62cda9d
Qt 5.14.0
Debugging mode is disabled.
Operating system: macOS 10.15
CPU architecture: x86_64
Kernel: darwin 19.2.0
Enabled extensions:
Cryptographic libraries:
libgcrypt 1.8.5
The text was updated successfully, but these errors were encountered: