Re: RSA_set0_key() equivalent for 3.0.0

2021-07-14 Thread William Roberts
On Wed, Jul 14, 2021, 09:27 Ken Goldman wrote: > On 7/13/2021 5:14 PM, William Roberts wrote: > > Outside of the migration guide others have pointed out, I think the > functions you need are: > > > > https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_set1_RSA.html < > https://www.openssl.org/do

Re: RSA_set0_key() equivalent for 3.0.0

2021-07-14 Thread Ken Goldman
On 7/13/2021 5:14 PM, William Roberts wrote: Outside of the migration guide others have pointed out, I think the functions you need are: https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_set1_RSA.html Use use EVP level no

Re: RSA_set0_key() equivalent for 3.0.0

2021-07-14 Thread William Roberts
I'd be nice to have a more detailed porting guide, I'd been poking into this a little bit, but did you see Matt's response? (Pasted below) Those functions are deprecated. Better would be EVP_PKEY_fromdata(): https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_fromdata.html On Wed, Jul 14, 2021

Re: RSA_set0_key() equivalent for 3.0.0

2021-07-14 Thread Ken Goldman
On 7/13/2021 5:08 PM, Nicola Tuveri wrote: There is the migration guide: https://github.com/openssl/openssl/tree/master/doc/man7/migration_guide.pod The migration guide is very general. It says that the low level

Re: RSA_set0_key() equivalent for 3.0.0

2021-07-13 Thread Matt Caswell
On 13/07/2021 22:14, William Roberts wrote: Outside of the migration guide others have pointed out, I think the functions you need are: https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_set1_RSA.html Those functions a

Re: RSA_set0_key() equivalent for 3.0.0

2021-07-13 Thread William Roberts
Outside of the migration guide others have pointed out, I think the functions you need are: https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_set1_RSA.html Use use EVP level now as pointed out in the guide. On Tue, Jul 13, 2021, 16:04 Ken Goldman wrote: > What is the 3.0.0 equivalent to R

Re: RSA_set0_key() equivalent for 3.0.0

2021-07-13 Thread Sahana Prasad
On Tue, Jul 13, 2021 at 11:04 PM Ken Goldman wrote: > What is the 3.0.0 equivalent to RSA_set0_key() when I > want to create a key token from n and e. > > Meta question: Is there a porting guide for these > type of questions - something that says, "If you > used this before, use this now." > Hi

Re: RSA_set0_key() equivalent for 3.0.0

2021-07-13 Thread Nicola Tuveri
There is the migration guide: https://github.com/openssl/openssl/tree/master/doc/man7/migration_guide.pod Best regards, Nicola On Wed, Jul 14, 2021, 00:04 Ken Goldman wrote: > What is the 3.0.0 equivalent to RSA_set0_key() when I > want to create a key token from n and e. > > Meta question:

RSA_set0_key() equivalent for 3.0.0

2021-07-13 Thread Ken Goldman
What is the 3.0.0 equivalent to RSA_set0_key() when I want to create a key token from n and e. Meta question: Is there a porting guide for these type of questions - something that says, "If you used this before, use this now."