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
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2018-05-14 00:21:43 +0300
committerJanek Bevendorff <janek@jbev.net>2018-09-25 22:12:47 +0300
commite443cde45280512c39b918d60d98a933b9804751 (patch)
treebca157f0775765a4256578ae6d0c74468327254d /tests/TestKeePass2Format.h
parente4ded388b480bdd3b2f02bee39298053eb400acf (diff)
Add a new database settings wizard
This patch implements a new database wizard to guide users through the process of setting up a new database and choosing sane encryption settings. It also reimplements the master key settings to be more user-friendly. Users can now add, change, or remove individual composite key components instead of having to set all components at once. This avoids confusion about a password being reset if the user only wants to add a key file. With these changes comes a major refactor of how database composite keys and key components are handled. Copying of keys is prohibited and each key exists only once in memory and is referenced via shared pointers. GUI components for changing individual keys are encapsulated into separate classes to be more reusable. The password edit and generator widgets have also been refactored to be more reusable.
Diffstat (limited to 'tests/TestKeePass2Format.h')
-rw-r--r--tests/TestKeePass2Format.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestKeePass2Format.h b/tests/TestKeePass2Format.h
index d29fa2c13..19b0fb649 100644
--- a/tests/TestKeePass2Format.h
+++ b/tests/TestKeePass2Format.h
@@ -72,12 +72,12 @@ protected:
virtual void writeXml(QBuffer* buf, Database* db, bool& hasError, QString& errorString) = 0;
virtual void readKdbx(QIODevice* device,
- CompositeKey const& key,
+ QSharedPointer<const CompositeKey> key,
QScopedPointer<Database>& db,
bool& hasError,
QString& errorString) = 0;
virtual void readKdbx(const QString& path,
- CompositeKey const& key,
+ QSharedPointer<const CompositeKey> key,
QScopedPointer<Database>& db,
bool& hasError,
QString& errorString) = 0;