mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-02 19:46:06 -04:00
FdoSecrets: add smarter handling of database unlock requests
This commit implements the following logic: * If there're already unlocked collections, just use those, * otherwise, show the unlock dialog until there's an unlocked and exposed collection. * Fixes #7574
This commit is contained in:
parent
8711d31f24
commit
07755c324a
6 changed files with 151 additions and 32 deletions
|
@ -67,6 +67,7 @@ private slots:
|
|||
void testServiceEnableNoExposedDatabase();
|
||||
void testServiceSearch();
|
||||
void testServiceSearchBlockingUnlock();
|
||||
void testServiceSearchBlockingUnlockMultiple();
|
||||
void testServiceSearchForce();
|
||||
void testServiceUnlock();
|
||||
void testServiceUnlockDatabaseConcurrent();
|
||||
|
@ -104,7 +105,7 @@ private slots:
|
|||
void testDuplicateName();
|
||||
|
||||
private:
|
||||
bool driveUnlockDialog();
|
||||
bool driveUnlockDialog(DatabaseWidget* target = nullptr);
|
||||
bool driveNewDatabaseWizard();
|
||||
bool driveAccessControlDialog(bool remember = true, bool includeFutureEntries = false);
|
||||
bool waitForSignal(QSignalSpy& spy, int expectedCount);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue