]> git.ipfire.org Git - thirdparty/openssl.git/commit - CHANGES.md
Added 'saltlen' option to the OpenSSL enc command line app.
authorslontis <shane.lontis@oracle.com>
Thu, 31 Aug 2023 07:51:46 +0000 (17:51 +1000)
committerPauli <pauli@openssl.org>
Mon, 4 Sep 2023 04:15:34 +0000 (14:15 +1000)
commite3994583a1e4bde9a589c379520d216bc0a0c515
tree740416411fe5f6b4c6fbead6c06d03de556d17cc
parent9f679bdc71aac83e89cc5aacb42855f3657ace39
Added 'saltlen' option to the OpenSSL enc command line app.

This allows PBKDF2 to change the saltlen to something other than the
new default value of 16. Previously this app hardwired the salt length
to a maximum of 8 bytes. Non PBKDF2 mode uses EVP_BytesToKey()
internally, which is documented to only allow 8 bytes.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21858)
CHANGES.md
apps/enc.c
doc/man1/openssl-enc.pod.in
test/recipes/20-test_enc.t
test/recipes/25-test_pkcs8.t