[#115244] [Ruby master Feature#19987] add sample method to Range — "horv77@... (Andras Horvath) via ruby-core" <ruby-core@...>
Issue #19987 has been reported by horv77@protonmail.com (Andras Horvath).
6 messages
2023/11/05
[#115247] [Ruby master Feature#19988] AI for inner code behavior analysis at runtime — "horv77@... (Andras Horvath) via ruby-core" <ruby-core@...>
Issue #19988 has been reported by horv77@protonmail.com (Andras Horvath).
3 messages
2023/11/05
[#115404] Ruby 3.2.2 - rbconfig.rb's MAKEFILE_CONFIG — Jay Mav via ruby-core <ruby-core@...>
Hello Ruby Dev Team,
4 messages
2023/11/17
[ruby-core:115339] [Ruby master Bug#20000] Backport: Fix OpenSSL.fips_mode and OpenSSL::PKey.read in OpenSSL 3 FIPS.
From:
"jaruga (Jun Aruga) via ruby-core" <ruby-core@...>
Date:
2023-11-10 15:51:48 UTC
List:
ruby-core #115339
Issue #20000 has been reported by jaruga (Jun Aruga).
----------------------------------------
Bug #20000: Backport: Fix OpenSSL.fips_mode and OpenSSL::PKey.read in OpenSSL 3 FIPS.
https://bugs.ruby-lang.org/issues/20000
* Author: jaruga (Jun Aruga)
* Status: Closed
* Priority: Normal
* Backport: 3.0: REQUIRED, 3.1: REQUIRED, 3.2: REQUIRED
----------------------------------------
Ruby 3.3 (master branch) includes Ruby OpenSSL library (openssl gem) to fix OpenSSL.fips_mode and OpenSSL::PKey.read in OpenSSL 3 FIPS. And I want to see the following 5 commits to fix the issues will be backported to Ruby 3.2, 3.1 and 3.0.
* Fix OpenSSL.fips_mode in OpenSSL 3 FIPS.
https://github.com/ruby/openssl/pull/608
https://github.com/ruby/ruby/commit/678d41bc51fe31834eec0b653ba0e47de5420aa0
* Fix OpenSSL::PKey.read in OpenSSL 3 FIPS.
The following 2 commits modify the `ossl_pkey_read_generic`. Maybe it's easy to combine and squash the 2 commits to 1 commit to backport.
* https://github.com/ruby/openssl/pull/615
https://github.com/ruby/ruby/commit/2a4834057b30a26c38ece3961b370c0b2ee59380
* https://github.com/ruby/openssl/pull/669
https://github.com/ruby/ruby/commit/b0ec1db8a72c530460abd9462ac75845362886bd
* Enable tests in OpenSSL FIPS.
This commit is needed to run the tests properly in OpenSSL FIPS.
* https://github.com/ruby/openssl/pull/615
https://github.com/ruby/ruby/commit/920bc71284f417f9044b0dc1822b1d29a8fc61e5
* ssl: use ffdhe2048 from RFC 7919 as the default DH group parameters
https://github.com/ruby/openssl/pull/674
https://github.com/ruby/ruby/commit/b6d7cdc2bad0eadbca73f3486917f0ec7a475814
## Ruby and included Ruby OpenSSL (ruby/openssl) version
Here is the bundled ruby/openssl version for each Ruby. You can check the version number in the `ext/openssl/lib/openssl/version.rb`. The only ruby/openssl version 3.2.0 includes the 5 commits above.
* Ruby 3.3
* master: 3.2.0
* Ruby 3.2:
* The brnach ruby_3_2: 3.1.0
* The latest patch version tag v3_2_2: 3.1.0
* Ruby 3.1:
* The branch ruby_3_1: 3.0.1
* The latest patch version tag v3_1_4: 3.0.1
* Ruby 3.0:
* The branch ruby_3_0: 2.2.2
* The latest patch version tag v3_0_6: 2.2.2
The possible ways to backport are
* Include ruby/openssl 3.2.0 in Ruby 3.2, 3.1 and 3.0. I think this is the easiest option.
* Backport the 5 commits above in ruby/ruby.
* If ruby/ruby only wants to use ruby/openssl only increasing patch version, we may need some work in ruby/openssl side to reelase the ruby/openssl gem 3.1.z, 3.0.z and 2.2.z. I think this is the hardest option.
The reason why the oldest Ruby version to be backported is 3.0 is because the oldest Ruby version using OpenSSL 3 is 3.0 in CentOS 9 stream and RHEL 9 main branch, in our maintaining Linux distributions: Fedora, CentOS Stream and RHEL.
## References of the patch files
As a reference, I would share our managing patches created from the 5 commits above in Fedora and CentOS 9 Stream.
* Fedora rawhide (f40): Based Ruby: 3.2.2:
https://gitlab.com/redhat/centos-stream/rpms/ruby/-/blob/c9s/ruby.spec?ref_type=heads#L1
Patch12, 13, 14, and 15 are the patch files.
* CentOS 9 Stream, Ruby 3.1 stream: Based Ruby: 3.1.2
https://gitlab.com/redhat/centos-stream/rpms/ruby/-/blob/stream-ruby-3.1-rhel-9.4.0/ruby.spec?ref_type=heads#L1
Patch30, 31, 32, and 33 are the patch files.
* CentOS 9 Stream, default: Based Ruby: 3.04.
https://gitlab.com/redhat/centos-stream/rpms/ruby/-/blob/c9s/ruby.spec?ref_type=heads#L279
Patch 65, 66, 67, 68 are the patch files.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/