mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-03 10:00:04 -05:00
Fix composite keys in KeePass1Reader.
This commit is contained in:
parent
7fd8154ea8
commit
c02b5abc6e
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user