Project

General

Profile

Actions

Bug #19073

closed

openssl gem 3.0.0 problem

Added by hspem (Per-Erik Martin) over 1 year ago. Updated over 1 year ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]
[ruby-core:110441]

Description

We have a server using openssl 3.0.3 (i.e. written i C).

This has worked with all kinds of different clients (ruby, C, java...) without any problem... except now, with the latest ruby gem, openssl 3.0.0.

The behavior is odd: It successfully connects, and exchanges a request and response, and then it seems the client just disconnects (from the server's perspective; there's no difference in the debug output from openssl from a normal disconnect, it just happens prematurely).

We have pin-pointed the problem to the transition from gem version 2.2.1 to 3.0.0:

ruby gem OpenSSL::OPENSSL_VERSION Works?
ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux] openssl (default: 2.2.1) OpenSSL 1.1.1k FIPS 25 Mar 2021 Yes
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux] openssl (default: 3.0.0) OpenSSL 1.1.1k FIPS 25 Mar 2021 No

The same problem remains in ruby 3.1.2 (which has the same gem as 3.1.0). This was tested on AlmaLinux 8.4 (i.e. Redhat 8.4).

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0