(I'm not an OpenSSL developer, but I know enough of development processes to explain what I see here. Actual OpenSSL developers should correct me if I'm wrong.) Most likely, yes this is currently expected. Since it's a dev branch, not a release branch, it's not expected to have everything internally consistent. Under test-driven development, one writes the tests for the behavior one expects to implement before one writes the code to implement that behavior. This is primarily to commit to the contract, and to ensure that the contract is fulfilled with the test data. A comment of "TODO Currently not supported" in the output of a failed test implies intent to support it in the next release, but the support hasn't yet been implemented. -Kyle H On Thu, Jul 9, 2020 at 10:22 AM Blumenthal, Uri - 0553 - MITLL <uri@xxxxxxxxxx> wrote: > > MacOS 10.15.5, Xcode-11.5, current OpenSSL master (3.0 dev) > > Is this expected: > > > genpkey: Error setting ec_param_enc:explicit parameter: > C00D090F01000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -genparam -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-3' -pkeyopt 'ec_param_enc:explicit' -text => 1 > not ok 1 - genpkey EC params Oakley-EC2N-3 with ec_param_enc:'explicit' (text) # TODO Currently not supported > # ------------------------------------------------------------------------------ > # Failed (TODO) test 'genpkey EC params Oakley-EC2N-3 with ec_param_enc:'explicit' (text)' > # at test/recipes/15-test_genec.t line 37. > genpkey: Error setting ec_param_enc:explicit parameter: > C0CDBE1601000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -genparam -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-3' -pkeyopt 'ec_param_enc:explicit' -outform PEM -out ecgen.Oakley-EC2N-3.explicit.pem => 1 > not ok 2 - genpkey EC params Oakley-EC2N-3 with ec_param_enc:'explicit' (PEM) # TODO Currently not supported > # ------------------------------------------------------------------------------ > # Failed (TODO) test 'genpkey EC params Oakley-EC2N-3 with ec_param_enc:'explicit' (PEM)' > # at test/recipes/15-test_genec.t line 37. > genpkey: Error setting ec_param_enc:explicit parameter: > C01D251B01000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -genparam -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-3' -pkeyopt 'ec_param_enc:explicit' -outform DER -out ecgen.Oakley-EC2N-3.explicit.der => 1 > not ok 3 - genpkey EC params Oakley-EC2N-3 with ec_param_enc:'explicit' (DER) # TODO Currently not supported > # ------------------------------------------------------------------------------ > # Failed (TODO) test 'genpkey EC params Oakley-EC2N-3 with ec_param_enc:'explicit' (DER)' > # at test/recipes/15-test_genec.t line 37. > genpkey: Error setting ec_param_enc:explicit parameter: > C07DD70A01000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-3' -pkeyopt 'ec_param_enc:explicit' -text => 1 > not ok 4 - genpkey EC key on Oakley-EC2N-3 with ec_param_enc:'explicit' (text) # TODO Currently not supported > # ------------------------------------------------------------------------------ > # Failed (TODO) test 'genpkey EC key on Oakley-EC2N-3 with ec_param_enc:'explicit' (text)' > # at test/recipes/15-test_genec.t line 37. > genpkey: Error setting ec_param_enc:explicit parameter: > C00D341201000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-3' -pkeyopt 'ec_param_enc:explicit' -outform PEM -out ecgen.Oakley-EC2N-3.explicit.pem => 1 > not ok 5 - genpkey EC key on Oakley-EC2N-3 with ec_param_enc:'explicit' (PEM) # TODO Currently not supported > # ------------------------------------------------------------------------------ > # Failed (TODO) test 'genpkey EC key on Oakley-EC2N-3 with ec_param_enc:'explicit' (PEM)' > # at test/recipes/15-test_genec.t line 37. > genpkey: Error setting ec_param_enc:explicit parameter: > C0FDFE1001000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-3' -pkeyopt 'ec_param_enc:explicit' -outform DER -out ecgen.Oakley-EC2N-3.explicit.der => 1 > not ok 6 - genpkey EC key on Oakley-EC2N-3 with ec_param_enc:'explicit' (DER) # TODO Currently not supported > # ------------------------------------------------------------------------------ > genpkey: Error setting ec_param_enc:explicit parameter: > C09D391101000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -genparam -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-4' -pkeyopt 'ec_param_enc:explicit' -text => 1 > not ok 13 - genpkey EC params Oakley-EC2N-4 with ec_param_enc:'explicit' (text) # TODO Currently not supported > # ------------------------------------------------------------------------------ > # Failed (TODO) test 'genpkey EC params Oakley-EC2N-4 with ec_param_enc:'explicit' (text)' > # at test/recipes/15-test_genec.t line 37. > genpkey: Error setting ec_param_enc:explicit parameter: > C04DD91801000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -genparam -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-4' -pkeyopt 'ec_param_enc:explicit' -outform PEM -out ecgen.Oakley-EC2N-4.explicit.pem => 1 > not ok 14 - genpkey EC params Oakley-EC2N-4 with ec_param_enc:'explicit' (PEM) # TODO Currently not supported > # ------------------------------------------------------------------------------ > # Failed (TODO) test 'genpkey EC params Oakley-EC2N-4 with ec_param_enc:'explicit' (PEM)' > # at test/recipes/15-test_genec.t line 37. > genpkey: Error setting ec_param_enc:explicit parameter: > C0CD0E1101000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -genparam -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-4' -pkeyopt 'ec_param_enc:explicit' -outform DER -out ecgen.Oakley-EC2N-4.explicit.der => 1 > not ok 15 - genpkey EC params Oakley-EC2N-4 with ec_param_enc:'explicit' (DER) # TODO Currently not supported > # ------------------------------------------------------------------------------ > # Failed (TODO) test 'genpkey EC params Oakley-EC2N-4 with ec_param_enc:'explicit' (DER)' > # at test/recipes/15-test_genec.t line 37. > genpkey: Error setting ec_param_enc:explicit parameter: > C0BD080B01000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-4' -pkeyopt 'ec_param_enc:explicit' -text => 1 > not ok 16 - genpkey EC key on Oakley-EC2N-4 with ec_param_enc:'explicit' (text) # TODO Currently not supported > # ------------------------------------------------------------------------------ > # Failed (TODO) test 'genpkey EC key on Oakley-EC2N-4 with ec_param_enc:'explicit' (text)' > # at test/recipes/15-test_genec.t line 37. > genpkey: Error setting ec_param_enc:explicit parameter: > C08DB81401000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-4' -pkeyopt 'ec_param_enc:explicit' -outform PEM -out ecgen.Oakley-EC2N-4.explicit.pem => 1 > not ok 17 - genpkey EC key on Oakley-EC2N-4 with ec_param_enc:'explicit' (PEM) # TODO Currently not supported > # ------------------------------------------------------------------------------ > # Failed (TODO) test 'genpkey EC key on Oakley-EC2N-4 with ec_param_enc:'explicit' (PEM)' > # at test/recipes/15-test_genec.t line 37. > genpkey: Error setting ec_param_enc:explicit parameter: > C02D4F1401000000:error::digital envelope routines:legacy_ctrl_str_to_param:command not supported:crypto/evp/pmeth_lib.c:1011: > ../../util/wrap.pl ../../apps/openssl genpkey -algorithm EC -pkeyopt 'ec_paramgen_curve:Oakley-EC2N-4' -pkeyopt 'ec_param_enc:explicit' -outform DER -out ecgen.Oakley-EC2N-4.explicit.der => 1 > not ok 18 - genpkey EC key on Oakley-EC2N-4 with ec_param_enc:'explicit' (DER) # TODO Currently not supported > # ------------------------------------------------------------------------------15-test_genec.t .................... ok > > > -- > Regards, > Uri >