mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-23 08:20:45 -05:00
Add warning when using legacy key file formats.
This commit is contained in:
parent
21a6c0fd89
commit
871332ecf0
5 changed files with 61 additions and 2 deletions
|
|
@ -162,6 +162,14 @@ void ChangeMasterKeyWidget::generateKey()
|
|||
tr("Failed to set %1 as the Key file:\n%2").arg(fileKeyName, errorMsg), MessageWidget::Error);
|
||||
return;
|
||||
}
|
||||
if (fileKey.type() != FileKey::Hashed) {
|
||||
QMessageBox::warning(this,
|
||||
tr("Legacy key file format"),
|
||||
tr("You are using a legacy key file format which may become\n"
|
||||
"unsupported in the future.\n\n"
|
||||
"Please consider generating a new key file."),
|
||||
QMessageBox::Ok);
|
||||
}
|
||||
m_key.addKey(fileKey);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue