Improve OPVault handling and replace test opvault

* Fix various bugs in opvault parsing to include: TOTP parsing, date handling, naming convention, attachments, and multiple url's.

* Remove category groups that don't have any entries.

* Simplify tests by focusing on the resulting database instead of the parsing mechanics.

* Remove proprietary "freddy" opvault in favor of self-made "keepassxc" opvault.

* Fix #4069, select opvault file on macOS
This commit is contained in:
Jonathan White
2020-04-19 11:50:48 -04:00
parent 560209550c
commit 612f8d2e5b
38 changed files with 176 additions and 937 deletions

View File

@@ -28,8 +28,6 @@ class TestOpVaultReader : public QObject
private slots:
void initTestCase();
void testReadIntoDatabase();
void testBandEntry1();
void testKeyDerivation();
private:
// absolute path to the .opvault directory
@@ -41,8 +39,7 @@ private:
* except for multi-line strings.
*/
QString m_opVaultTextExportPath;
QString m_password;
QMap<QString, QString> m_categoryMap;
QStringList m_categories;
};
#endif /* TEST_OPVAULT_READER_H_ */