mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-01-06 02:55:43 -05:00
Passkeys: Add support for importing Passkey to entry (#9987)
--------- Co-authored-by: Jonathan White <support@dmapps.us>
This commit is contained in:
parent
7371589955
commit
c477f43c40
27 changed files with 459 additions and 176 deletions
|
|
@ -34,6 +34,7 @@ const QString EntryAttributes::SearchInGroupName = "SearchIn";
|
|||
const QString EntryAttributes::SearchTextGroupName = "SearchText";
|
||||
|
||||
const QString EntryAttributes::RememberCmdExecAttr = "_EXEC_CMD";
|
||||
const QString EntryAttributes::AdditionalUrlAttribute = "KP2A_URL";
|
||||
const QString EntryAttributes::PasskeyAttribute = "KPEX_PASSKEY";
|
||||
|
||||
EntryAttributes::EntryAttributes(QObject* parent)
|
||||
|
|
@ -52,6 +53,18 @@ bool EntryAttributes::hasKey(const QString& key) const
|
|||
return m_attributes.contains(key);
|
||||
}
|
||||
|
||||
bool EntryAttributes::hasPasskey() const
|
||||
{
|
||||
const auto keyList = keys();
|
||||
for (const auto& key : keyList) {
|
||||
if (isPasskeyAttribute(key)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
QList<QString> EntryAttributes::customKeys() const
|
||||
{
|
||||
QList<QString> customKeys;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue