open-quantum-safe / oqs-provider

OpenSSL 3 provider containing post-quantum algorithms
https://openquantumsafe.org
MIT License
197 stars 83 forks source link

DRBG ERROR? #478

Closed testoqs closed 2 weeks ago

testoqs commented 1 month ago

Hello, I failed to create keypairs.It always return DRBG have problem. But while creating RSA keypairs,it do not return errors. Is there any solutions to fix it? root@hk:~# openssl genpkey -algorithm mldsa87 -provider oqsprovider Warning: generating random key material may take a long time if the system has a poor entropy source No OpenSSL randomness retrieved. DRBG available? _root@hk:~# openssl genpkey -outform PEM -algorithm RSA -pkeyopt rsa_keygenbits:2048 -out priv.key .+....+...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..+.........+...+......+....+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....+......+.+.....+......+...+......+.+...+..+....+.........+..+............+......+.+...............+.....+.+........+.+...+...+..+...+.............+.........+..+.............+...............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ...+...+.+...+...+..+.+......+......+..+...............+.......+.....+.+.....+.......+......+..+.........+...+.+..+.........+...................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....+...+.....+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++........+.......+...+..+.........+.+.........+...+........+...+....+...+.....+...+....+.....+.............+.........+......+..+............+....+..+...+......+....+.........+......+.........+.....+......+.+........+.+.....+.+.....+.........+............+....+...+..+....+.....+....+...+..+.......+...+.....+.+............+..+.+..+............+.+......+...........+.......+..+...............+.+.....+...+.......+............+..+....+..+....+......+........+....+..+...+......+.......+..............+.+....................+.......+...+.....+....+........+.+.....+.+......+...+.....+....+...+..+...............+...+.........+......+...+.......+...+.........+.....................+.....+.......+.....+.........+...+.......+.....+.............+........+...+......+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

baentsch commented 1 month ago

FAQ. See https://github.com/orgs/open-quantum-safe/discussions/1883 (need to activate default provider).