mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fix composite keys in KeePass1Reader.
This commit is contained in:
@@ -842,7 +842,7 @@ QByteArray KeePass1Key::rawKey() const
|
||||
}
|
||||
else {
|
||||
CryptoHash keyHash(CryptoHash::Sha256);
|
||||
keyHash.addData(m_password);
|
||||
keyHash.addData(CryptoHash::hash(m_password, CryptoHash::Sha256));
|
||||
keyHash.addData(m_keyfileData);
|
||||
return keyHash.result();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user