mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-09 03:08:32 -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 {
|
else {
|
||||||
CryptoHash keyHash(CryptoHash::Sha256);
|
CryptoHash keyHash(CryptoHash::Sha256);
|
||||||
keyHash.addData(m_password);
|
keyHash.addData(CryptoHash::hash(m_password, CryptoHash::Sha256));
|
||||||
keyHash.addData(m_keyfileData);
|
keyHash.addData(m_keyfileData);
|
||||||
return keyHash.result();
|
return keyHash.result();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user