mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Additional database file checks in cli/Utils.unlockDatabase
Avoids prompting the user for a password if unlocking is likely to fail due to some problem with the database file (i.e. not found, not a file, not readable). Add unit tests.
This commit is contained in:
committed by
Jonathan White
parent
344198bc2a
commit
547c246e88
@@ -63,6 +63,7 @@ private slots:
|
||||
void testRemove();
|
||||
void testRemoveQuiet();
|
||||
void testShow();
|
||||
void testInvalidDbFiles();
|
||||
|
||||
private:
|
||||
QByteArray m_dbData;
|
||||
|
||||
Reference in New Issue
Block a user