-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Secret Service group is no longer exposed following a merge #9371
Comments
KeePassXC 2.7.4 |
I just encountered the exact same error message when trying to merge my databases (which I have done often and it has worked flawlessly so far). I do use Secret Service but I didn't notice anything especial with regards to it. Merging the files the other way around worked. |
I also just ran into this issue. Unfortunately all I see is
with no core dump. Also use secret service, but the conflicting entries didn't have it enabled. On the other hand, I can open them both separately and |
OK, is there anything we as affected users can do to help debug this issue so it can get fixed? Because right now my family's workflow is seriously broken, because whenever a shared keyfile gets changed and merged back into my main keyfile, all my Secret Service integrations break, which is quite annoying. How can I help analyze this issue, @droidmonkey? |
Generally, the root cause of this issue is because keepass kdbx doesn't have a modified time on each key value pair. We actually introduced a last modified entry that we maintain for the entire set of custom data. If you merge a database with newer custom data, and that database doesn't have fdosecrets configured, then you'll lose your own configuration. Easiest solution is to setup fdosecrets on the source database with the settings you desire. Separately, I found out that keeshare databases were merging their custom data into the main database. This would also cause this issue and I have a fix in place for that: #10452 I think I need to extend that fix to the more general case somehow. |
Ah, OK. So if I understand correctly #10452 would actually solve my problem, because the only merging I'm doing is via KeeShare? |
Yes that PR will solve the keeshare side of this problem. The other side is actually "how keepass works" for better or worse. I forsee solving that problem with a merge options dialog (one option being, don't merge custom data) See #10173 |
Thank you for taking the time to both explain and fix (the more readily fixable part of) the problem! |
Are custom data and custom attributes the same? I can imagine a scenario where one might want to merge at least some custom attributes, and maybe at least some custom data (if that's not the same thing), but still protect things like the Secret Service settings. The latter is usually local to the machine/database, so should very rarely be merged IMO, if ever. |
That conversation should be moved over to the PR I linked just above |
@droidmonkey Do you mean #10452 or #10173 ? And also on further thought, one might want a separate option to migrate settings (such as the Secret Service stuff) between databases, especially after #2224. |
@Taijian I found another way to protect the FdoSecrets custom data, very simple and should have been implemented before. Will be adding that to the KeeShare fix PR I mentioned above. |
* Fixes #9371 - adds secret service custom data key to the list of protected custom data (will not be overwritten on merge)
* Fixes #9371 - adds secret service custom data key to the list of protected custom data (will not be overwritten on merge)
* Fixes #9371 - adds secret service custom data key to the list of protected custom data (will not be overwritten on merge)
* Fixes #9371 - adds secret service custom data key to the list of protected custom data (will not be overwritten on merge)
* Fixes #9371 - adds secret service custom data key to the list of protected custom data (will not be overwritten on merge)
* Fixes #9371 - adds secret service custom data key to the list of protected custom data (will not be overwritten on merge)
* Fixes #9371 - adds secret service custom data key to the list of protected custom data (will not be overwritten on merge)
* Fixes keepassxreboot#9371 - adds secret service custom data key to the list of protected custom data (will not be overwritten on merge)
I have 2 databases, one on a local machine (A), one of a rsync-mounted drive (B). When I try to merge the A to B, the keepassxc crashes. I run it in terminal, and this was at the end of the output:
The text was updated successfully, but these errors were encountered: