keepassxc/tests
Aetf e121f4bc28 Add Freedesktop.org Secret Storage Spec Server Side API (Fix #1403)
This plugin implements the Secret Storage specification version 0.2.
While running KeePassXC, it acts as a Secret Service server, registered
on DBus, so clients like seahorse, python-secretstorage, or other
implementations can connect and access the exposed database in KeePassXC.

Squashed commits:

- Initial code
- Add SessionAdaptor and fix build
- The skeletons for all dbus objects are in place
- Implement collection creation and deletion
- Emit collectionChanged signal
- Implement app-wise settings page
- Implement error message on GUI
- Implement settings
- Fix uuid to dbus path
- Implement app level settings
- Add freedesktop logo
- Implement database settings page
- Change database settings to a treeview
- Move all settings read/write to one place
- Rename SecretServiceOptionsPage to SettingsWidgetFdoSecrets
- Fix selected group can not be saved if the user hasn't click on the item
- Show selected group per database in app settings
- Disable editing of various readonly widgets
- Remove unused warning about non exposed database
- Fix method signature on dbus adaptors
- Fix type derived from DBusObject not recognized as QDBusContext
- Resolve a few TODOs around error handling
- Remove const when passing DBus exposed objects
- Move dismiss to PromptBase
- Implement per collection locking/unlocking
- Fix const correctness on Item::setSecret
- Implement SecretService::getSecrets
- Rework the signal connections around collections.
- Remove generateId from DBusObject
- Per spec, use encoded label as DBus object path for collections
- Fix some corner cases around collection name changes
- Implement alias
- Fix wrong alias dbus path
- Implement encryption per spec
- Cleanup SessionCipher
- Implement searchItems for SecretService
- Use Tools::uuidToHex
- Implement Item attributes and delete
- Implement createItem
- Always check if the database is unlocked before perform any operation
- Add missing ReadAlias/SetAlias on service
- Reorganize and fix OpenSession always returning empty output
- Overhaul error handling
- Make sure default alias is always present
- Remove collection aliases early in doDelete
- Handles all content types, fix setProperties not working
- Fix sometimes there is an extraneous leading zero when converting from MPI
- Fix session encryption negotiation
- Do not expose recycle bin
- Protect against the methods not called from DBus
- Also emit collectionChanged signal when lock state changes
- Show notification when entry secret is requested
- Add a README file
- Actually close session when client disconnects
- Gracefully return alternative label when collection is locked
- Reorganize, rename secretservice to fdosecrets
- Fix issues reported by clazy
- Unify UI strings and fix icon
- Implement a setting to skip confirmation when deleting entries from DBus
- Remove some unused debugging log
- Simply ignore errors when DBus context is not available. QtDBus won't set QDBusContext when deliver property get/set, and there is no way to get a QDBusMessage in property getter/setter.
- Simplify GcryptMPI using std::unique_ptr and add unit test
- Format code in fdosecrets
- Move DBusReturnImpl to details namespace
- Fix crash when locking a database: don't modify exposedGroup setting in customData when database is deleted
- Make sure Collection::searchItems works, whether it's locked or not
- Fix FdoSecrets::Collection becomes empty after a database reload
- Fix crash when looping while modifying the list
2019-05-12 12:35:42 -04:00
..
data Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00
gui Robust processing of tray icon triggers 2019-05-04 16:45:03 -04:00
mock Restore correct formatting 2018-11-28 18:29:15 -05:00
stub Merge branch 'develop' 2018-12-18 22:28:56 -05:00
util Restore correct formatting 2018-11-28 18:29:15 -05:00
CMakeLists.txt Add Freedesktop.org Secret Storage Spec Server Side API (Fix #1403) 2019-05-12 12:35:42 -04:00
config-keepassx-tests.h.cmake Remove KeePassHttp plugin and qhttp (#1752) 2018-03-31 11:36:18 -04:00
FailDevice.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
FailDevice.h Make C++11 mandatory. 2015-09-12 13:55:50 +02:00
modeltest.cpp 🐛 Fix building with Qt 5.9 (closes #528) 2017-06-01 17:05:07 -04:00
modeltest.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
TestAutoType.cpp Customize buttons on MessageBox and confirm before recycling (#2376) 2018-12-19 23:14:11 -05:00
TestAutoType.h Refactor Database and Database widgets (#2491) 2018-11-22 11:47:31 +01:00
TestBase32.cpp Move useful QTest template specializations to global header file 2018-01-24 13:32:37 +01:00
TestBase32.h Add new Base32 implementation 2017-10-21 13:15:02 +02:00
TestCli.cpp Improved error messages when opening database 2019-04-07 19:12:45 -04:00
TestCli.h Adding --no-password option to CLI 2019-03-24 09:23:26 -04:00
TestCryptoHash.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
TestCryptoHash.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
TestCsvExporter.cpp Performed project-wide code formatting 2019-01-28 22:38:59 -05:00
TestCsvExporter.h Refactor Database and Database widgets (#2491) 2018-11-22 11:47:31 +01:00
TestCsvParser.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
TestCsvParser.h Formatting the code. 2018-03-31 16:01:30 -04:00
TestDatabase.cpp Refactor Database and Database widgets (#2491) 2018-11-22 11:47:31 +01:00
TestDatabase.h Update and fix copyright headers 2017-06-14 15:54:43 +02:00
TestDeletedObjects.cpp Refactor Database and Database widgets (#2491) 2018-11-22 11:47:31 +01:00
TestDeletedObjects.h Refactor Database and Database widgets (#2491) 2018-11-22 11:47:31 +01:00
TestEntry.cpp Fix updating reference passwords from KeePassXC-Browser (#2218) 2019-01-21 14:24:57 -05:00
TestEntry.h keepassxc-cli show: resolve references in output (#1280) 2017-12-17 10:44:12 -05:00
TestEntryModel.cpp Clean up Entry Model/View code 2018-11-17 08:49:47 -05:00
TestEntryModel.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
TestEntrySearcher.cpp Improve existing code prior to implementing FDO Secrets 2019-05-12 12:35:42 -04:00
TestEntrySearcher.h Improve existing code prior to implementing FDO Secrets 2019-05-12 12:35:42 -04:00
TestFdoSecrets.cpp Add Freedesktop.org Secret Storage Spec Server Side API (Fix #1403) 2019-05-12 12:35:42 -04:00
TestFdoSecrets.h Add Freedesktop.org Secret Storage Spec Server Side API (Fix #1403) 2019-05-12 12:35:42 -04:00
TestGlobal.h Restore correct formatting 2018-11-28 18:29:15 -05:00
TestGroup.cpp Ran make format 2019-03-19 18:56:17 -04:00
TestGroup.h Fix group signals (#2670) 2019-02-01 17:03:28 -05:00
TestGroupModel.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
TestGroupModel.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
TestHashedBlockStream.cpp Move useful QTest template specializations to global header file 2018-01-24 13:32:37 +01:00
TestHashedBlockStream.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
TestKdbx2.cpp Refactor Database and Database widgets (#2491) 2018-11-22 11:47:31 +01:00
TestKdbx2.h Refactor Database and Database widgets (#2491) 2018-11-22 11:47:31 +01:00
TestKdbx3.cpp Refactor Database and Database widgets (#2491) 2018-11-22 11:47:31 +01:00
TestKdbx3.h Performed project-wide code formatting 2019-01-28 22:38:59 -05:00
TestKdbx4.cpp Support Database Custom Data Merging (#3002) 2019-05-01 18:35:08 -04:00
TestKdbx4.h Performed project-wide code formatting 2019-01-28 22:38:59 -05:00
TestKeePass1Reader.cpp Correct checks for containers' emptiness 2018-11-28 18:29:15 -05:00
TestKeePass1Reader.h Refactor Database and Database widgets (#2491) 2018-11-22 11:47:31 +01:00
TestKeePass2Format.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
TestKeePass2Format.h Performed project-wide code formatting 2019-01-28 22:38:59 -05:00
TestKeePass2RandomStream.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
TestKeePass2RandomStream.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
TestKeys.cpp Correct checks for containers' emptiness 2018-11-28 18:29:15 -05:00
TestKeys.h Add MockChallengeResponseKey and additional composite key component test 2018-03-01 19:26:18 -05:00
TestMerge.cpp Support Database Custom Data Merging (#3002) 2019-05-01 18:35:08 -04:00
TestMerge.h Support Database Custom Data Merging (#3002) 2019-05-01 18:35:08 -04:00
TestModified.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
TestModified.h Introduce synchronize merge method 2018-09-30 09:36:39 -04:00
TestOpenSSHKey.cpp Merge branch 'develop' 2018-12-18 22:28:56 -05:00
TestOpenSSHKey.h Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
TestPasswordGenerator.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
TestPasswordGenerator.h Restore correct formatting 2018-11-28 18:29:15 -05:00
TestRandomGenerator.cpp Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
TestRandomGenerator.h Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
TestSharing.cpp Performed project-wide code formatting 2019-01-28 22:38:59 -05:00
TestSharing.h Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
TestSignature.cpp Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
TestSignature.h Add sharing of groups between databases 2018-10-01 10:39:37 -04:00
TestSymmetricCipher.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
TestSymmetricCipher.h Add CLI tests and improve coding style and i18n 2018-10-19 21:49:54 +02:00
TestTools.cpp Fix base64 check missing '/' as valid character 2019-03-25 13:06:03 -04:00
TestTools.h Add some unit tests to Tools 2018-05-22 09:28:54 +02:00
TestTotp.cpp Support for RFC-compliant TOTP hashes #873 #1566 2019-04-15 14:23:26 -04:00
TestTotp.h Complete refactor of TOTP integration 2018-09-15 12:10:26 -04:00
TestUpdateCheck.cpp Enhance update checker 2019-04-11 08:52:51 -04:00
TestUpdateCheck.h Ran make format 2019-03-19 18:56:17 -04:00
TestWildcardMatcher.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
TestWildcardMatcher.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
TestYkChallengeResponseKey.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
TestYkChallengeResponseKey.h Formatting the code. 2018-03-31 16:01:30 -04:00