Handle alternative 1Pux password entry

* Fixes #11298
This commit is contained in:
Jonathan White committed 2024-10-06 23:22:02 -04:00
1 parent d2da13da20
commit b8564d5c24
3 files changed
+8

No files matched your search

+3
View File
@@ -102,6 +102,9 @@ namespace
entry->setPassword(fieldMap.value("value").toString());
}
}
if (entry->password().isEmpty() && detailsMap.contains("password")) {
entry->setPassword(detailsMap.value("password").toString());
}
entry->setNotes(detailsMap.value("notesPlain").toString());
// Dive into the item sections to pull out advanced attributes
+5
View File
@@ -96,6 +96,11 @@ void TestImports::testOPUX()
QVERIFY(entry);
// Check custom group icon
QVERIFY(!entry->group()->iconUuid().isNull());
// Check Category UUID 05 Passwords
entry = db->rootGroup()->findEntryByPath("/Personal/UUID 005 Password");
QVERIFY(entry);
QCOMPARE(entry->password(), QStringLiteral("uuid005password"));
}
void TestImports::testOPVault()
Binary file not shown.