Add 'KDBX 4' to Argon2 KDF name and select first category in the database settings by default

This commit is contained in:
Janek Bevendorff 2018-01-13 22:45:10 +01:00
parent 96e271e8be
commit 1575088585
No known key found for this signature in database
GPG Key ID: 2FDEB0D40BCA5E11
2 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@ const QList<QPair<Uuid, QString>> KeePass2::CIPHERS{
}; };
const QList<QPair<Uuid, QString>> KeePass2::KDFS{ const QList<QPair<Uuid, QString>> KeePass2::KDFS{
qMakePair(KeePass2::KDF_ARGON2, QObject::tr("Argon2 (recommended)")), qMakePair(KeePass2::KDF_ARGON2, QObject::tr("Argon2 (KDBX 4 recommended)")),
qMakePair(KeePass2::KDF_AES_KDBX4, QObject::tr("AES-KDF (KDBX 4)")), qMakePair(KeePass2::KDF_AES_KDBX4, QObject::tr("AES-KDF (KDBX 4)")),
qMakePair(KeePass2::KDF_AES_KDBX3, QObject::tr("AES-KDF (KDBX 3.1)")) qMakePair(KeePass2::KDF_AES_KDBX3, QObject::tr("AES-KDF (KDBX 3.1)"))
}; };

View File

@ -132,6 +132,7 @@ void DatabaseSettingsWidget::load(Database* db)
} }
m_uiGeneral->dbNameEdit->setFocus(); m_uiGeneral->dbNameEdit->setFocus();
m_ui->categoryList->setCurrentCategory(0);
} }
void DatabaseSettingsWidget::save() void DatabaseSettingsWidget::save()