You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a change in behavior for OpenSSL::PKey::RSA.generate between Ruby 3.0 (openssl-2.x) and ruby 3.1 (openssl-3.0.0). In Ruby 3.1 OpenSSL::PKey::RSA.generate will always return a OpenSSL::PKey::RSA instance, even when the class has been sublcassed.
I noticed a change in behavior for
OpenSSL::PKey::RSA.generate
between Ruby 3.0 (openssl-2.x) and ruby 3.1 (openssl-3.0.0). In Ruby 3.1OpenSSL::PKey::RSA.generate
will always return aOpenSSL::PKey::RSA
instance, even when the class has been sublcassed.Steps To Reproduce
Expected Behavior
Actual Behavior
Version
ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux]
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]
openssl (default: 3.0.0)
This regression seems to have appeared in 3.0.0.
The text was updated successfully, but these errors were encountered: