Handle alternative 1Pux password entry

* Fixes #11298
This commit is contained in:
Jonathan White 2024-09-29 15:56:03 -04:00
parent d2da13da20
commit b8564d5c24
3 changed files with 8 additions and 0 deletions

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

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.