Files
keepassxc/tests
oasaleh 469ab761ee Reject AES-KDF seeds that are not 32 bytes long
The seed of AES-KDF is the AES-256 key, but seeds of 8 to 31 bytes were
accepted from the KDF parameters of a KDBX 4 database. Botan then
rejected the key and the error was ignored, so the database key was
derived without any AES rounds, while the database settings still showed
the configured number of rounds. Saving the database kept the short
seed.

Require seeds of exactly 32 bytes, as the KDBX format specifies, and
fail the key derivation when the AES transformation fails. Mark
SymmetricCipher::aesKdf() Q_REQUIRED_RESULT, so that its result can't be
ignored again unnoticed.

KeeShare ignored a failure to set the key of an export. Now that the key
derivation can fail, for example when memory runs out, a signed export
that needs KDBX 4 would then be written with an empty key instead of the
share password. Abort the export instead.
2026-11-28 22:02:25 -05:00
..
2018-03-31 16:01:30 -04:00
2015-09-12 13:55:50 +02:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2023-07-30 09:56:09 -04:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2024-09-04 06:42:31 -04:00
2026-11-01 18:25:56 +01:00
2026-11-01 18:25:56 +01:00