Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-30MinimizeAfterUnlock also when unlocking through browserLukas Rytz
The MinimizeAfterUnlock setting added in #3439 closes the main window after unlock. However, when the unlock is triggered through KeePassXC-Browser, a password dialog is shown on top of the main window and the main window remains open after the unlock. This is fixed in this commit.
2021-05-30Show search bar when toolbar is hidden or overflowJonathan White
* Fix #505 - always show the search bar when the search keyboard shortcut is pressed. If the toolbar is in overflow, the toolbar will be expanded automatically and search focused. If the toolbar is hidden it will be shown and expanded if necessary. When searching is canceled or the down arrow is pressed (to select the first entry) the toolbar will be set back to it's previous configuration.
2021-01-26Fix unloading ssh keys on database lockJonathan White
* Fix #5928 - SSH Agent keys are properly removed on database lock. Also fixes crash when keys are still loaded on application close. * Remove dependency on DatabaseWidget within SSH Agent.
2020-12-20Fix reSelect entry & group on loadDbBernhard
2020-12-12Fix closing modal dialogs on database lockJonathan White
* Fixes #5719, Fixes #5744
2020-10-20Force set entry preview after search endsJonathan White
* Fixes #5093
2020-10-12Mask password placeholder in command execution dialogJonathan White
* Fixes #4463
2020-10-12Move Hide Usernames/Passwords into view menuJonathan White
* Fixes #4982 * Removed a lot of redundant and passthrough code
2020-09-05Fix AutoOpen IfDevice matching, againJonathan White
* Fix case where only exclusions are entered (eg, !COMPUTER1, !COMPUTER2) which should allow opening the database on every other computer name.
2020-08-19Change actions for F1-F2-F3 keysJonathan White
* Fixes #5037 * F1 focuses group view, if already focused it opens the focused group for editing * F2 focuses entry view, if already focused it opens the focused entry for editing * F3 focuses search
2020-08-08Fixup saving non-data changes on database lockJonathan White
* Fix #5107 * Change setting for non-data changes to Auto save on database lock (or not) instead of marking modified. * When enabled, database will be auto-saved if there are only non-data changes, but will not prompt the user if saving has failed. * When disabled, database will not auto-save if there are only non-data changes (same behavior as 2.5 and below) and will not mark the database dirty.
2020-08-08Fix Search and KeeShare banner styleJonathan White
2020-08-01Fix and document AutoOpenJonathan White
* Fix #5017 - ifDevice -> IfDevice and correct behavior of negated hostnames
2020-07-22Add option to Auto-Type just the username/passwordAnees Ahmed
Fixes #4444 Some websites these days do not present both the "username" and the "password" input box on the same webpage (e.g. Google, Amazon). So no custom sequence is possible to enter both the said attributes in one go. So, two new context menu actions have been added: 1. Perform Auto-Type of just the username 2. Perform Auto-Type of just the password These context menu actions are analogous to "Copy username" and "Copy password", except it avoids sending all characters via clipboard. * Create a sub-menu in the Context Menu of Entry. * The sub-menu offers the following sequences: - {USERNAME} - {USERNAME}{ENTER} - {PASSWORD} - {PASSWORD}{ENTER}
2020-07-18Prevent crash if focus widget gets deleted during savingJonathan White
* Fixes #4966
2020-07-03Replace "Master Key" with "Database Credentials"Jonathan White
Definitions: * Database Key - Cryptographic hash used to perform encrypt/decrypt of the database. * Database Credentials - User facing term to refer to the collection of Password, Key File, and/or Hardware Key used to derive the Database Key. Changes: * Remove the term "master" and "key" from the user's lexicon and clarify the code base based on the definitions above. * Clean up wording in the UI to be clearer to the end user.
2020-06-04Improve AutoOpenJonathan White
* Add support for 'ifDevice' feature, closes #2871 * Resolve placeholders for username and password to support references, fixes #2078 * Add support for open databases from an entry when the url starts with 'kdbx://'. Uses the same syntax as AutoOpen. Closes #1536.
2020-05-23SSH Agent: Reset settings when KeeAgent.settings is removedToni Spets
Fixes #4594
2020-05-23Correct 'save as' behavior to ensure file path remains validAndrew Meyer
Copy necessary saving sequence from the save function into saveAs function to prevent inconsistencies when saving to a new file.
2020-05-22Add natural sort of entry listHolger Böhnke
Introduce a third unsorted status that shows entries in the order they occur in the KDBX file. * Add keyboard shortcut Ctrl+Alt+Up/Down to move entries up and down in sort order * Add entry context menu icons to achieve movement up/down * Only show menu icons when in natural sort order * Add Material Design icons for moving up/down * Add feature to track non-data changes and force a save on exit to ensure they are not lost when locking a database. This allows users to make entry movements and group expand/collapse operations and not lose that state. Remove saveas
2020-05-21Add DB_DIR placeholder for autoopen urlsstingray21
2020-05-19SSH Agent: Track which database owns a key for remove-on-lockToni Spets
Fixes #4532
2020-05-16Implement 'Save Database Backup' optionAndrew Meyer
Add an option in the 'Database' menu to save a backup of the current database. Add unit test for saving database copy * Open a test database, mark it as modified, and save a copy * Fail if the copy is not a valid database * Fail if the original database is saved * Fail if the original database is no longer marked as modified
2020-05-15Fix changing focus around the main window using tabJonathan White
* Override Qt's default [broken] behavior of handling Tab/Shift+Tab to navigate around the MainWindow. Completely fixes trapped focus. * Improve handling of search results when navigating the UI. * Fix selecting first entry after ending a search. * Add keyboard shortcuts to directly focus on search (F1), Group List (F2), and Entry List (F3) * Fixes #2878, #4636, and #4221
2020-05-15Significantly enhance hardware key robustnessJonathan White
* Significantly improve user experience when using hardware keys on databases in both GUI and CLI modes. Prevent locking up the YubiKey USB interface for prolonged periods of time. Allows for other apps to use the key concurrently with KeePassXC. * Improve messages displayed to user when finding keys and when user interaction is required. Output specific error messages when handling hardware keys during database read/write. * Only poll for keys when previously used or upon user request. Prevent continuously polling keys when accessing the UI such as switching tabs and minimize/maximize. * Add support for using multiple hardware keys simultaneously. Keys are identified by their serial number which prevents using the wrong key during open and save operations. * Fixes #4400 * Fixes #4065 * Fixes #1050 * Fixes #1215 * Fixes #3087 * Fixes #1088 * Fixes #1869
2020-05-02Refactor Config.Janek Bevendorff
Replaces all string configuration options with enum types that can be checked by the compiler. This prevents spelling errors, in-place configuration definitions, and inconsistent default values. The default value config getter signature was removed in favour of consistently and centrally default-initialised configuration values. Individual default values were adjusted for better security, such as the default password length, which was increased from 16 characters to 32. The already existing config option deprecation map was extended by a general migration procedure using configuration versioning. Settings were split into Roaming and Local settings, which go to their respective AppData locations on Windows. Fixes #2574 Fixes #2193
2020-04-09Merge branch 'master' into developJanek Bevendorff
2020-04-09Return keyboard focus after saving database edits (#4287)Ojas Anand
2020-04-08SSH Agent: Entry context menu controlToni Spets
2020-03-14Bundle icons using the Qt resource system.Janek Bevendorff
Simplify resource loading logic and enable reproducible builds. Fixes #2582
2020-03-10Ignore focus when checking toolbar stateBalazs Gyurak
* Support copy shortcut when in QTextEdit to prevent inadvertently copying password when interacting with those elements.
2020-03-08Fix crashes on database saveJonathan White
* Add saving mutex to database class to prevent re-entrant saving * Prevent saving multiple times to the same file if the database is not marked as modified * Prevent locking the database while saving. This also prevents closing the application and database tab while saving. * FileWatcher: only perform async checksum calculations when triggered by timer (prevents random GUI freezes) * Re-attempt database lock when requested during save operation * Prevent database tabs from closing before all databases are locked on quit
2020-02-28Correct issues with hiding and minimizing the MainWindowMichal Suchanek
The GUI features depend on windowing system used, not just OS. There is an issue with the WM sometimes producing an event that keepassxc interprets as request to hide the main window just after it is shown. A workaround with immediately firing a timer was implemented. However, there is no guarantee on execution ordering of the timer callback and other application code. Remove the timer and override show() and hide() on main window to only hide if the window has not been shown recently. The user can set an option to hide window instead of minimizing when tray icon is enabled. This is not honored in most places where the main windows is minimized. Fix it. This also allows using the tray icon as a workaround for minimization not working under some circumstances in X11. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
2020-02-28Return keyboard focus after saving database edits (#4287)Ojas Anand
2020-02-23Allow toggling SSH Agent integration without restartToni Spets
- use Q_GLOBAL_STATIC for singleton - move all configuration to SSHAgent class - various cleanups to agent code Fixes #1196
2020-02-01Implement Password Health ReportWolfram Rösler
Introduce a password health check to the application that evaluates every entry in a database. Entries that fail various tests are listed for user review and action. Also moves the statistics panel to the new Database -> Reports widget. Recycled entries are excluded from the results. We now have two classes, PasswordHealth to deal with a single password and HealthChecker to deal with all passwords of a database. Tests include passwords that are expired, re-used, and weak. * Closes #551 * Move zxcvbn usage to a centralized class (PasswordHealth) and replace its usages across the application to ensure standardized interpretation of entropy calculations. * Add new icons for the database reports view * Updated the demo database to show off the reports
2020-01-16Prevent crash when all entries are deleted from a groupJonathan White
* Fix #4093 - The first entry in the list is selected after deleting an entry * Prevents crashes due to dangling pointers held by the Entry Preview Widget when entries were deleted. * Improve GUI tests to ensure this new behavior occurs.
2020-01-04Fix AutoOpen with key file only databasesJonathan White
* Fixes #3931
2019-12-15Prevent reloading database while editing an entry or groupJonathan White
* Fix #3933 and fix #3857. Interaction with entries and groups is disabled while the database is being reloaded or saved to prevent changes from occurring. Prevent the database from being reloading if an entry or group is currently being edited. * Fix #3941 - Only notify components when the database file actually changes (determined by checksum). This prevents spurious merge requests when the file is merely touched by another service (e.g., DropBox). * Fix code format of ElidedLabel.cpp
2019-12-15Correct multiple issues with database savingJonathan White
* Mark the database as clean after fully completing the file save operation INSTEAD of when merely writing the database to a file. * Stop the modified timer when marking the database as clean, this prevents latent erroneous modified signals from being emitted. * Do not restart the modified timer after a new change is detected while it is still running.
2019-11-09Ensure database contents are released right away.Janek Bevendorff
When we lock a database, we reset the database pointer to free its resources. Since various other widgets besides the DatabaseWidget hold references to the shared pointer object, however, it cannot be guaranteed that the actual database object will be freed right away. This patch adds a releaseData() method which is called upon database lock to ensure all residual data is cleared without having to rely on the actual database object being cleaned up.
2019-11-09Prevent recursive loads using AutoOpenJonathan White
* Fix #3334 - AutoOpen is now processed after the database widget is put into view mode to prevent infinite recursion of unlock attempts if two databases auto open each other.
2019-11-09Start Database Widget in view modeJonathan White
* Fix #3713 - DatabaseWidget starts in locked mode instead of view mode fixing tab names on launch.
2019-10-24Prevent new entry loss on database file reloadJonathan White
* Fix #3651 * Correct data loss when the database reloads due to a file change while creating a new entry. The issue occurred due to the "new parent group" pointer being invalid after the database is reloaded following merge. * Also fix re-selecting entries following database file reload. If the entry was moved out of the current group it would result in an assert hit. This fix prevents recursively looking for the entry.
2019-10-21Enable entry actions when editing an entryJonathan White
* Fixes #2118 Enables select entry actions when editing an entry. This allows users to copy the password of the entry, for example. Note: unsaved changes to the entry will not be copied to the clipboard.
2019-10-21Move FileWatcher into Database classJonathan White
* Fix #3506 * Fix #2389 * Fix #2536 * Fix #2230 Every database that has been opened now watch's it's own file. This allows the database class to manage file changes and detect fail conditions during saving. Additionally, all stakeholders of the database can listen for the database file changed notification and respond accordingly. Performed significant cleanup of the autoreload code within DatabaseWidget. Fixed several issues with handling changes due to merging, not merging, and other scenarios while reloading. Prevent database saves to the same file if there are changes on disk that have not been merged with the open database.
2019-10-21Cleanup database save functionsJonathan White
* Make a clear distinction between saving to the existing file path and saving to a new file path * Use proper save function calls in CLI
2019-09-07Support key files with Auto Open featuremetaphys
Fixes #3495 * Look for keyfile in username parameter of the Auto Open entries. If present, pass on to unlock call to the database.
2019-09-03Add checkbox to allow minimize after database unlock.Frederic Linus Schulz
Default option is set to off
2019-08-31Improve File DialogGianluca Recchia
* QFileDialog returns UNIX paths, even on Windows. This patch converts what QFileDialog returns to the native path format. * Improve const correctness * Avoid imposing file extension on Linux * This patch improves things like unneeded passes by values, missing const qualifiers, ugly copies because of variable reuse and consistency in variable names.