Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Sep 30, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

tekknolagi and others added 5 commits September 30, 2025 10:03
CI passed on SetIvar but broke some larger Ruby tests. Needs further investigation and testing.

* Revert "ZJIT: Fix rebase issue with tests"

This reverts commit 37248c5.

* Revert "ZJIT: Inline attr_accessor/attr_writer to SetIvar (#14629)"

This reverts commit 40bb476.
Introduce a useful macro indicating that the low-level struct wrapped
in an EVP_PKEY cannot be modified.

Currently, the macro is defined for OpenSSL 3.0 or later only. LibreSSL
and AWS-LC can follow suit in the future.

ruby/openssl@032ed63096
…ith OpenSSL 3.0

Raise ArgumentError if this is attempted when the extension is compiled
with OpenSSL 3.0 or later. The form will be fully removed when we drop
support for OpenSSL 1.1.1.

When OpenSSL::PKey::{DH,DSA,EC,RSA}.new is called without any arguments,
it sets up an empty corresponding low-level struct and wraps it in an
EVP_PKEY. This is useful when the user later fills the missing fields
using low-level setter methods such as OpenSSL::PKey::RSA#set_key.

Such setter methods are not compatible with OpenSSL 3.0 or later, where
EVP_PKEY is immutable once created. This means that the ability to
create an empty instance is useless.

ruby/openssl@affd569f78
 - Generate smaller parameters in test_new_generate. Generating 2048-bit
   parameters is slow and sometimes takes a few minutes on GitHub-hosted
   CI runners. Also test the DH.generate alias, not just DH.new.
 - Simplify test_new_break to just check exceptions raised in the block
   because it is redundant.
 - Remove unnecessary OpenSSL::PKey::DH#public_key calls.
 - Update bare "assert" with more appropriate methods.

ruby/openssl@8bc7442310
@pull pull bot locked and limited conversation to collaborators Sep 30, 2025
@pull pull bot added the ⤵️ pull label Sep 30, 2025
@pull pull bot merged commit 37d65e9 into turkdevops:master Sep 30, 2025
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants