General

Profile

rhenium (Kazuki Yamaguchi)

Issues

open closed Total
Assigned issues 4 51 55
Reported issues 5 38 43

Projects

Project Roles Registered on
Ruby Committer 05/17/2016

Activity

11/30/2026

10:05 PM Ruby Revision 256325df (git): [ruby/test-unit-ruby-core] Fix assert_raise_kind_of for test-unit-ruby-core
Test::Unit::TestCase from the test-unit gem does not provide a "pass"
method. This is only used for counting the number of assertions.
https://github.com/ruby/test-unit-ruby-core/commit/522868cb09
rhenium (Kazuki Yamaguchi)
04:48 PM Ruby Revision 1703cef0 (git): [ruby/openssl] kdf, pkey: keep the OpenSSL error queue across GVL acquisition
Under the M:N thread scheduler, a Ruby thread may be resumed on a
different native thread after rb_thread_call_without_gvl() or
rb_thread_call_with_gvl() re-acquires the GVL.
Save the error queue before re-acquiring the GVL and restore ...
rhenium (Kazuki Yamaguchi)
04:48 PM Ruby Revision 41fca785 (git): [ruby/openssl] x509store: keep the OpenSSL error queue across verify_callback
The verify_callback may be called with a non-empty error queue in some
cases. Save the error queue before executing any Ruby code and restore
it afterward.
https://github.com/ruby/openssl/commit/4dd5991c4b
rhenium (Kazuki Yamaguchi)
04:48 PM Ruby Revision 282c7784 (git): [ruby/openssl] ssl: keep the OpenSSL error queue across callbacks
OpenSSL may call some callbacks in OpenSSL::SSL after adding entries
to the error queue. These callbacks must leave the queue intact, as
SSL_get_error() relies on its contents to determine the cause of the
error. Otherwise, we may end up...
rhenium (Kazuki Yamaguchi)
04:48 PM Ruby Revision 5a46b590 (git): [ruby/openssl] ossl.c: add ossl_err_state_*()
Add a helper that wraps OSSL_ERR_STATE_*() in OpenSSL >= 3.2, and
emulates the behavior with older OpenSSL versions and LibreSSL/AWS-LC.
https://github.com/ruby/openssl/commit/ba23d84e6d
rhenium (Kazuki Yamaguchi)

11/24/2026

06:26 PM Ruby Feature #14378: Increase Fixnum range on Windows from 31 bits to 63 bits
For reference: [Feature #22400] was accepted and merged for Ruby 4.1. Array/String lengths were the other offender where `long` was used instead of a pointer-sized type in the C API, but they now use the new typedef `rb_len_t`. rhenium (Kazuki Yamaguchi)

11/23/2026

05:59 PM Ruby Revision b26dd336 (git): [ruby/openssl] ssl: add SSLSocket#ssl_shutdown
Expose SSL_shutdown() directly so that Ruby programs can control
closure of connection more precisely.
Update SSLSocket#sysclose and #close_write to use this method. They
rescue SystemCallError and SSLError to preserve the existing beha...
rhenium (Kazuki Yamaguchi)
04:54 PM Ruby Revision b9e515af (git): [ruby/openssl] ssl: harden session_{get,new,remove}_cb
Prepare the Array objects for the argument inside rb_protect(). This
object allocation may potentially raise an exception and corrupt
OpenSSL's internal state.
Also look up the callback Proc objects directly from SSLContext's
instance v...
rhenium (Kazuki Yamaguchi)
04:54 PM Ruby Revision 0df3c25c (git): [ruby/openssl] ssl: harden info_callback
Use rb_protect() to avoid exiting from SSL_accept() or SSL_read()
prematurely.
Also set the callback to SSL_CTX instead of SSL, similarly to what we
do for other callbacks configurable on SSLContext.
https://github.com/ruby/openssl/com...
rhenium (Kazuki Yamaguchi)
04:54 PM Ruby Revision 45f9eb05 (git): [ruby/openssl] ssl: harden client_cert_cb
Currently, if the callback raises an exception or returns an invalid
value, the handshake is resumed as if the callback has not been called.
This is contrary to the documentation.
Propagate exceptions raised by the callback to the origi...
rhenium (Kazuki Yamaguchi)

Also available in: Atom