dimanche 14 février 2021

OpenSSL get determinitic random keys

For the sake of ease of deployment of a prototype of a distributed application I want to generate a list of openSSL keys that are deterministic based on some random seed.

I do already know that using srand(seed) does not work because openSSL uses a different soruce of randomness. I've checked out RAND_pseudo_bytes, but it seems to be using the same random source as the non-pseudo method so that one doesn't seem to be doing it either.

Is there a way to generate the SSL keys deterministically?




Aucun commentaire:

Enregistrer un commentaire