@steelej Your option 1 is basically what I'm doing, but any "off the shelf" sharing mechanism will be faced with file conflicts if the database is modified on different devices in parallel. Feel free to elaborate on how to resolve those conflicts easily... @Paul Thanks, triggers seem useful. I'll have a look at those. There is one for "Synchronized database file", so maybe I can copy the file manually after a sync to achieve binary identical copies locally and on the server. Syncing on save is not...
The issue at hand is really trivial: I have one database I have a copy on my local machine. I have a copy on my server. File systems on local machine and server are synchronized by a file-based synchronization utility. I usually access and modify the local copy for obvious reasons. However occasionally (e.g. when accessing the DB remotely from my mobile phone) I access and change the server copy directly. This is where it becomes inconvenient from a user-side: Local and server copies have diverged...
So this this mean the salt changes on every save? I really do understand how you might want to have different salts for different databases, but immediately after a sync it could absolutely be handled as the same database for al intents and purposes. I would be absolutely fine if my local database was simply copied to the server as-is after the sync.
Thanks Paul, this is the information I was looking for! So it is indeed as steelej suspected and the files will always differ. Is there a reason it is implemented like this (and is there a possibility to avoid it)? It would be great to have an option that ensures "sync" does not only sync entries, but also ensures the files are identical on a binary level.
I hope we can get some insight by Dominik on this, because he developed both components and has the necessary insight to explain what's going on. I'm sure he'll understand what the problem is and if this is an issue that I can solve on my end or whether it's an issue in KeePass.
Paul, I don't think you understand my issue. KeePass does not report anything at all (the status bar does reflect what it's doing, though: "Uploading file" , then "Downloading file", then the process is complete) - as far as KeePass is concerned I think the save succeeds. The problem is that the uploaded file does not match my local file after the synchronization on a binary level.
Paul, I don't think you understand my issue. KeePass does not report anything at all (the status bar does reflect what it's doing, though: "Uploading file" , then "Downloading file", then the process is complete - as far as KeePass is concerned I think the save succeeds. The problem is that the uploaded file does not match my local file after the synchronization on a binary level.
Yes, that's pretty much my current working thesis, but I don't enough of the internals of KeePass to verify it. I had hoped (and still hope) that someone on this forum has the necessary insight into the KeePass and IOProtocolExt code to explain what is happening here.
Yes, that's pretty much my current working thesis, but I don't enough of the internals of KeePas to verify it. I had hoped (and still hope) that someone on this forum has the necessary insight into the KeePass and IOProtocolExt code to explain what is happening here.
Thanks Paul, but have you actually used IOProtocolExt before? There's a whole section on this behavior in the IOProtocolExt ReadMe (bundled, see https://keepass.info/extensions/v2/ioprotocolext/IOProtocolExt-1.16.zip) that talks about this: Faster saving. KeePass by default highly ensures the integrity of saved files: when saving, KeePass first opens/downloads the file from the server (to see whether it has been changed in the meanwhile by a different user), uploads the new file, and downloads it...
What's that supposed to mean? Isn't the whole upload -> re-download -> verify procedure IOProtocolExt performs meant to ensure integrity of file that was uploaded? If that does not fail, how could my FTP server be causing any issues? As far as I interpreted it, KeePass uploads the file properly, but either a) uploads a file that is different from the current database, or b) modifies the current database again after uploading.
Hi all, I'm using the IOProtocolExt extension to sync my database file via SFTP. As far as I can see, the content is synced just fine, however - even immeadiately after a sync - it seems the binary file content (i.e. hashes of the files) on the server and locally does not match. This is problematic, as both locations are also synced by a file-based tool, which always reports conflicts in my KeePass database. Is this behavior expected, and - if yes - is there a chance KeePass/IOProtocolExt could ensure...
Windows 10.0 17134 Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (406E3) Apparently no failure (allocation ERROR: 1450 at Size = 11968 MiB). System has 20 GB of RAM.
Ah, I wrongly assumed this was stock functionality. It apparently comes from http://nsis.sourceforge.net/Advanced_Uninstall_Log_NSIS_Header so I'll have to look into that one first...
Installing into non-empty directory is very slow and takes a long time
librevenge: RVNGFileStream uses "fopen()" internally which fails on Windows for non-ASCII characters in filenames
Well, that's the point: If I'm not mistaken this issue isn't fixed in MSYS2 either....
Since I'm getting similar issues with a personal build of mingw-64 [1] which I think...
Thanks Paul, sounds like a solid workaround! Still a context menu entry would probably...
Add Auto-Type to tray menu
I was just playing around to test this issue: When trying to close the Find dialog...
I was just playing around to test this issue: When trying to close the Find dialog...
This would be a very useful feature! @John Peterson: Maybe you should create a new...
1) No, I didn't try any other software (and honestly I don't know how this should...
1) No, I didn't try any other software (and honestly I don't know how this should...
Hi all, I just used 7-Zip to crate a backup of a whole disk (by adding all files...
Hi all, I just used 7-Zip to crate a backup of a whole disk (by adding all files...
Hi all, I just used 7-Zip to crate a backup of a whole disk (by adding all files...
Hi all, I just used 7-Zip to crate a backup of a whole disk (by adding all files...
Here's an updated patch based on "nppSetup.nsi" from SVN revision 1329. Would be...
Hi Dave, thanks for the update! It's great that after plugin install Notepad++ is...
CPU was configured for maximum performance (so by default multiplier 8.5 is used)....
CPU was configured for maximum performance (so by default multiplier 8.5 is used)....
CPU was configured for maximum performance (so by default multiplier 8.5 is used)....
Intel® Core™ i5-4570 Processor (6M Cache, up to 3.60 GHz) - 4 cores, no Hyper-Threading...
2.26 GHz should be the real CPU frequency. However my CPU has an IDA p-state (Intel...
Intel® Core™2 Duo Processor P8400 (3M Cache, 2.26 GHz, 1066 MHz FSB) - 2 Cores, no...
The link to the support forums on the official 7-zip.org website is broken and needs...
Great! There's one small usability issue that could be fixed: If one moves an entry...
Seems as I forgot the actual patch ;)
This would fix [bugs:#3669], [bugs:#4475], [bugs:#4801] and [feature-requests:#2356]...
Remember selected components in installer
Thanks! Seems to work reasonable now.
Yes, probably. Sorry I forgot to mention I'm on Windows 7 in the first place. However...
Yes, probably. Sorry I forgot to mention I'm on Windows 7 in the first place. However...
Allow reordering / alpabetic ordering of user define auto-type sequences
Selecting text in auto-type sequence always marks two braces at once
Then we misunderstood each other. I thought you were suggesting that I finalized...
Sorry, but I'm afraid my level of programming expertise is much lower than would...
realpath() not available in MinGW