opencryptoki / openssl-ibmca

OpenSSL engine and provider for libica.
Apache License 2.0
7 stars 15 forks source link

provider: RSA: Fix get_params to retrieve max-size, bits, and security-bits #106

Closed ifranzki closed 1 year ago

ifranzki commented 1 year ago

The RSA key management's get_params() function should be able to return the values for max-size, bits, and security-bits if at least the public key is available.

The detection wheter the key is 'empty', i.e. has neither the public nor the private key components was wrong. This lead to the fact that those parameters were not returned when only the public key was available.

ifranzki commented 1 year ago

close/reopen to trigger travis

jschmidb commented 1 year ago

lgtm, just 2 typos in commit msg: The detection wheter (<- whether) the key is 'empty', i.e. has neither the public nor the private key components was wrong. This lead (<- leads) to the fact that

ifranzki commented 1 year ago

fixed typos in commit msg, no code change.