Kazuki Yamaguchi

Results 109 comments of Kazuki Yamaguchi

I don't think there is a good way currently. RubyGems doesn't support the situation of dependencies between C extensions. There is no standard directory where a gem can install the...

Updated TODO list as of alpha14: - [x] OpenSSL::HMAC, Use the EVP API * No incompatibilities expected for Ruby programs. * Done by #371. - [x] OpenSSL::PKey, Parameters/key generation with...

> First, the below test is skipped for OpenSSL 3. Yes, we can remove it now. The problem was apparently fixed by OpenSSL 3.0.2 (https://github.com/openssl/openssl/commit/9a4e7d863fa5a65b0efef96c1c4891864aac036f). > Secondly, I updated the...

> ```ruby > OpenSSL::PKey::EC.new('prime256v1').to_pem > ``` @no6v also reported this at https://github.com/ruby/openssl/pull/527#issuecomment-1220504524. This is actually an older bug unrelated to OpenSSL 3.0: it will crash with OpenSSL 1.1 too.

> ```ruby > OpenSSL::HMAC.digest(OpenSSL::Digest.new('sha1'), '', 'A') > ``` This appears to be a bug in the current OpenSSL 3.0.x releases. EVP_PKEY_new_mac_key() is incorrectly handling zero-length key. ruby/openssl actually should use...

Looking at its [compatibility header files](https://github.com/wolfSSL/wolfssl/blob/ffd69f6426f3c91a4515c716cd43a76ed644b028/wolfssl/openssl/ssl.h), it seems the symbols have a `wolf` prefix. Our feature checking code in ext/openssl/extconf.rb would need to be rewritten if we want to support...

Thanks for working on this! This is indeed overlooked and should be implemented. Unlike `IO#gets`, `OpenSSL::Buffering`/`OpenSSL::SSL::SSLSocket#gets` accepts a Regexp as the `eol` parameter. Should this be made compatible with `chomp`...

I'm afraid deprecating those constants would have a too big impact at this point, especially since the constant deprecation warning is shown without $VERBOSE set to true. A quick grep...

My concern is that a user could want to upgrade openssl gem but not to upgrade everything else at the same time. The warning can be a blocker for the...

> This is easy with [rubocop-hq/rubocop#7950](https://github.com/rubocop-hq/rubocop/pull/7950) by running `bundle exec rubocop --only Lint/DeprecatedOpenSSLConstant -a` and it autocorrects code for you. I can call this out in the changelog entry to...