]> git.feebdaed.xyz Git - 0xmirror/openssl.git/commit
New -encopt option for pkey(1) and genpkey(1)
authorViktor Dukhovni <openssl-users@dukhovni.org>
Wed, 10 Dec 2025 02:52:37 +0000 (13:52 +1100)
committerNorbert Pocs <norbertp@openssl.org>
Wed, 17 Dec 2025 12:40:17 +0000 (13:40 +0100)
commit473dff4781780abd43fc789b1a36d65c3c383ba8
tree4858d7842cfa83763a48f628324b01b1a648ee29
parent29f8cebfcb4f7a0881d06de7afb3fb8077942797
New -encopt option for pkey(1) and genpkey(1)

This allows setting the ML-KEM and ML-DSA output formats.
At the same fixing surprising lack of password encryption
of PKCS#8 private keys in DER output form in the CLI apps.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29324)
16 files changed:
apps/genpkey.c
apps/include/apps.h
apps/lib/apps.c
apps/pkey.c
crypto/encode_decode/encoder_err.c
crypto/encode_decode/encoder_meth.c
crypto/err/openssl.txt
doc/man1/openssl-genpkey.pod.in
doc/man1/openssl-pkey.pod.in
doc/man3/OSSL_ENCODER_CTX.pod
include/crypto/encodererr.h
include/openssl/encoder.h
include/openssl/encodererr.h
test/recipes/15-test_ml_dsa_codecs.t
test/recipes/15-test_ml_kem_codecs.t
util/libcrypto.num