As documented, the #public_key methods on OpenSSL::PKey::{DH,DSA,RSA} are obsolete, as their behavior is inconsistent and better alternatives are available. Remove unnecessary uses from RDoc comments for other methods. Also add dedicate...rhenium (Kazuki Yamaguchi)
OpenSSL::PKCS7#decrypt is unreliable when given only a private key and the PKCS#7 structure contains multiple recipients. It may occasionally raise an exception or return garbage data. Update the test to avoid this. This became much mor...rhenium (Kazuki Yamaguchi)
Expose EVP_PKEY_get_params(), added in OpenSSL 3.0, for retrieving various parameters from an EVP_PKEY object. https://github.com/ruby/openssl/commit/fbddeb74b0rhenium (Kazuki Yamaguchi)
OpenSSL 3.0 changed the type of SSL options to uint64_t. Since OpenSSL 3.2 began using the 33rd bit, treating it as unsigned long is no longer sufficient. https://github.com/ruby/openssl/commit/743daa7ac9rhenium (Kazuki Yamaguchi)
* [Feature #22102] C API to obtain a C string from a Ruby String (rhe) * The existing `StringValueCStr()` is sometimes awkward to use. It would be nice to provide a simpler alternative as part of the public C API. * Can we add one?...rhenium (Kazuki Yamaguchi)
I prepared a GitHub PR: https://github.com/ruby/ruby/pull/17707 IMO we can just make it the user's responsibility to pass a `T_STRING`. I see this as a replacement for `RSTRING_PTR()` in cases where a C string is explicitly required.rhenium (Kazuki Yamaguchi)