Replies: 2 comments 10 replies
-
Please provide a reproducible error run using the template in https://github.com/open-quantum-safe/oqs-provider/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title= . In this case, be sure to use the pre-built docker image so we can exclude built-time issues on your end. |
Beta Was this translation helpful? Give feedback.
-
kosuri@kosuri:~/github.com/oqs-demos/openssl3$ docker run -it oqs-ossl3
Test server started for KEM kyber768 at port 4433
/ # Using default temp DH parameters
ACCEPT
/ # ps
PID USER TIME COMMAND
1 root 0:00 {serverstart.sh} /bin/sh /opt/openssl32/bin/serverstart.sh
8 root 0:00 openssl s_server -cert /opt/test/server.crt -key /opt/test/server.key -groups kyber768 -www -tls1_3 -accept localhost:4433
9 root 0:00 sh
10 root 0:00 ps
/ # openssl genpkey -algorithm x25519_kyber768 -out private.pem
Error writing key(s)
48EBE5F19F7F0000:error:1D800065:ENCODER routines:OSSL_ENCODER_to_bio:reason(101):crypto/encode_decode/encoder_lib.c:55:No encoders were found. For standard encoders you need at least one of the default or base providers available. Did you forget to load them?
48EBE5F19F7F0000:error:04800073:PEM routines:do_pk8pkey:error converting private key:crypto/pem/pem_pk8.c:133:
/ # openssl list -providers
Providers:
default
name: OpenSSL Default Provider
version: 3.3.0
status: active
oqsprovider
name: OpenSSL OQS Provider
version: 0.5.3-dev
status: active
/ # which openssl
/opt/openssl32/bin/openssl
/ # The reason I am using my environment I can able to create a key, can't create a cert due to a sign issue # I can create private using x25519_kyber768
root@f6d2292b0f29:/optbuild# $OPENSSL_APP genpkey -algorithm x25519_kyber768 -out private.pem
# where I am trying to create a certificate, where the signature is not supported
root@f6d2292b0f29:/optbuild# $OPENSSL_APP req -new -x509 -key private.pem -out cert.pem
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:IN
State or Province Name (full name) [Some-State]:HYD
Locality Name (eg, city) []:HYD
Organization Name (eg, company) [Internet Widgits Pty Ltd]:ssl
Organizational Unit Name (eg, section) []:dev
Common Name (e.g. server FQDN or YOUR name) []:example.com
Email Address []:[email protected]
00524040A47F0000:error:03000096:digital envelope routines:do_sigver_init:operation not supported for this keytype:crypto/evp/m_sigver.c:300: |
Beta Was this translation helpful? Give feedback.
-
And openssl.cnf
Beta Was this translation helpful? Give feedback.
All reactions