keepassxc/src/core
Jan Klötzke a8cfefe6c8
Fix database merge crash when fdosecrets is enabled (#10136)
* Entry: re-parent before adding to new group

Adding the Entry to the Group will emit signals about the action.
Present the object with the correct parent already.

* fdosecrets: Item::Create() can fail

If an entry cannot be registered on DBus, Item::Create() will return a
nullptr. Basically, this can only happen if there is already an item
with the same UUID in the collection. The only viable option here is to
ignore the new entry.

* Merger: prevent duplicate entry when merging histories

If the source entry is newer, a copy of the entry is made. But before 
moving the merged entry to the target group, it must be removed. 
Otherwise there will be briefly two entries with the same UUID
in the same group/database.

Even though this is only the case during the transaction, it can still
be observed because the operations emit signals. A notable problem is
the fdosecrets feature that relies on the uniqueness of the UUID or will
otherwise run into problems because the UUID is used as part of the DBus
path.
2024-01-02 07:17:25 -05:00
..
Alloc.cpp clang-tidy: C++ headers 2022-05-01 16:01:46 -04:00
AsyncTask.h Fix Botan 3 build (#9388) 2023-05-07 08:48:58 -04:00
AutoTypeAssociations.cpp Properly block modified signal during Database destruction (#6438) 2021-05-27 21:50:15 -04:00
AutoTypeAssociations.h Properly block modified signal during Database destruction (#6438) 2021-05-27 21:50:15 -04:00
Base32.cpp clang-tidy: use braced init list (#7998) 2023-01-29 10:05:44 -05:00
Base32.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
Bootstrap.cpp Fix file dialog not appearing on snap build 2022-06-05 07:04:11 -04:00
Bootstrap.h Remove GUI bootstraping from core/ (#5513) 2020-10-08 22:48:45 -04:00
Clock.cpp clang-tidy: use = default (#7999) 2023-01-29 15:47:13 -05:00
Clock.h Correct issues with hiding and minimizing the MainWindow 2020-02-27 23:25:44 -05:00
Compare.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
Config.cpp Change conf path XDG_CACHE_HOME to XDG_STATE_HOME (#9755) 2023-10-23 09:42:32 +02:00
Config.h Improve database encryption settings UX 2023-07-09 12:29:56 -07:00
CustomData.cpp Fix syntax issue & add a missing header (#7160) 2021-11-24 22:36:31 -05:00
CustomData.h Implement KDBX 4.1 CustomData modification date 2021-11-22 12:58:04 +01:00
Database.cpp Add Polkit Quick Unlock Support 2023-10-23 23:07:27 -04:00
Database.h Add Polkit Quick Unlock Support 2023-10-23 23:07:27 -04:00
DatabaseStats.cpp Add db statistic output to CLI db-info command. 2021-12-08 23:41:05 -05:00
DatabaseStats.h Add db statistic output to CLI db-info command. 2021-12-08 23:41:05 -05:00
Endian.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
Entry.cpp Fix database merge crash when fdosecrets is enabled (#10136) 2024-01-02 07:17:25 -05:00
Entry.h Passkeys: Add support for importing Passkey to entry (#9987) 2023-11-22 23:11:25 -05:00
EntryAttachments.cpp Upstream Flathub patches (#7728) 2022-04-04 19:04:18 -04:00
EntryAttachments.h clang-tidy: use override 2022-05-01 16:01:31 -04:00
EntryAttributes.cpp Passkeys: Add support for importing Passkey to entry (#9987) 2023-11-22 23:11:25 -05:00
EntryAttributes.h Passkeys: Add support for importing Passkey to entry (#9987) 2023-11-22 23:11:25 -05:00
EntrySearcher.cpp Fix potential crash in search if an entry doesn't have a group (#9633) 2023-07-19 16:11:59 -04:00
EntrySearcher.h Add uuid search (#9571) 2023-07-04 07:24:10 -04:00
FileWatcher.cpp Optimize includes across code base 2021-07-13 22:08:33 -04:00
FileWatcher.h Fix various issues with KeeShare 2020-05-10 17:23:53 -04:00
Global.h Removing QWidget dependency from src/core. 2021-11-12 07:41:30 -05:00
Group.cpp Add basic support for WebAuthn (Passkeys) (#8825) 2023-10-25 10:12:55 -04:00
Group.h refactor: remove unused merge methods 2023-12-10 08:19:08 -05:00
HibpDownloader.cpp Optimize includes across code base 2021-07-13 22:08:33 -04:00
HibpDownloader.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
HibpOffline.cpp Optimize includes across code base 2021-07-13 22:08:33 -04:00
HibpOffline.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
InactivityTimer.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
InactivityTimer.h clang-tidy: use override 2022-05-01 16:01:31 -04:00
MacPasteboard.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
MacPasteboard.h Overhaul Auto-Type Action Handling 2021-02-21 16:33:54 -05:00
Merger.cpp Fix database merge crash when fdosecrets is enabled (#10136) 2024-01-02 07:17:25 -05:00
Merger.h Fix database merge crash when fdosecrets is enabled (#10136) 2024-01-02 07:17:25 -05:00
Metadata.cpp Fix minor typos (#10124) 2023-12-22 15:12:07 -05:00
Metadata.h Add auto-save delay per database (#9100) 2023-07-08 08:49:03 -04:00
ModifiableObject.cpp Properly block modified signal during Database destruction (#6438) 2021-05-27 21:50:15 -04:00
ModifiableObject.h Properly block modified signal during Database destruction (#6438) 2021-05-27 21:50:15 -04:00
NetworkManager.cpp Optimize includes across code base 2021-07-13 22:08:33 -04:00
NetworkManager.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
PassphraseGenerator.cpp clang-tidy: use braced init list (#7998) 2023-01-29 10:05:44 -05:00
PassphraseGenerator.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
PasswordGenerator.cpp Align generator logic and UI for math symbols 2022-05-28 15:24:57 -04:00
PasswordGenerator.h Add -i/--include option to "generate" CLI command. (#7112) 2021-12-07 23:40:09 -05:00
PasswordHealth.cpp Increase entropy required for a "good" rating to 75. 2022-10-02 14:37:51 -04:00
PasswordHealth.h Limit zxcvbn entropy estimation length 2022-05-30 10:46:39 -04:00
Resources.cpp Support for wordlists in user configuration directory (#6799) 2021-11-04 23:02:33 -04:00
Resources.h Support for wordlists in user configuration directory (#6799) 2021-11-04 23:02:33 -04:00
SignalMultiplexer.cpp clang-tidy: use = default (#7999) 2023-01-29 15:47:13 -05:00
SignalMultiplexer.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
TimeDelta.cpp clang-tidy: use braced init list (#7998) 2023-01-29 10:05:44 -05:00
TimeDelta.h Add 12 hours expiration preset (#7738) 2022-03-31 07:02:28 -04:00
TimeInfo.cpp Optimize includes across code base 2021-07-13 22:08:33 -04:00
TimeInfo.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
Tools.cpp Add basic support for WebAuthn (Passkeys) (#8825) 2023-10-25 10:12:55 -04:00
Tools.h Passkeys: Add support for importing Passkey to entry (#9987) 2023-11-22 23:11:25 -05:00
Translator.cpp Rename translation files 2021-09-28 15:50:27 +02:00
Translator.h Optimize includes across code base 2021-07-13 22:08:33 -04:00
UrlTools.cpp Fix ifdefs with UrlTools 2023-12-11 14:29:20 -05:00
UrlTools.h Fix ifdefs with UrlTools 2023-12-11 14:29:20 -05:00