Skip to content

[release-branch.go1.25] Upgrade openssl backend#2358

Merged
qmuntal merged 1 commit into
microsoft/release-branch.go1.25from
dev/qmuntal/1.26osslupgr
Jun 10, 2026
Merged

[release-branch.go1.25] Upgrade openssl backend#2358
qmuntal merged 1 commit into
microsoft/release-branch.go1.25from
dev/qmuntal/1.26osslupgr

Conversation

@qmuntal

@qmuntal qmuntal commented Jun 10, 2026

Copy link
Copy Markdown
Member

The upgrade bring some OpenSSL 3.5 support improvements.

Fixes #2322.

Copilot AI review requested due to automatic review settings June 10, 2026 12:38
@qmuntal qmuntal requested a review from a team as a code owner June 10, 2026 12:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the vendored external crypto backends (notably github.com/microsoft/go-crypto-openssl) on the release-branch.go1.25 line to improve compatibility with OpenSSL 3.5 (including new EVP parameter APIs and FIPS-mode related behavior), intended to address microsoft/go issue #2322.

Changes:

  • Bumps the github.com/microsoft/go-crypto-openssl dependency revision and refreshes the vendor patch content accordingly.
  • Adds/uses OpenSSL 3 EVP “*_ex2” / “set_params” entry points (e.g., EVP_CipherInit_ex2, EVP_PKEY_CTX_set_params) and introduces new OSSL_PARAM-based configuration in the backend.
  • Updates RSA-PSS configuration for OpenSSL 3 to use EVP_PKEY_CTX_set_params and introduces a FIPS-related RSA-PSS salt-length check parameter.
Show a summary per file
File Description
patches/0001-Vendor-external-dependencies.patch Updates the vendored dependency patch to a newer go-crypto-openssl revision and incorporates OpenSSL 3.5-related backend changes (cipher init params, RSA-PSS params, HKDF params, new shims/bindings).

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread patches/0001-Vendor-external-dependencies.patch
@qmuntal qmuntal enabled auto-merge June 10, 2026 13:01
@qmuntal qmuntal merged commit 40de4c4 into microsoft/release-branch.go1.25 Jun 10, 2026
32 checks passed
@qmuntal qmuntal deleted the dev/qmuntal/1.26osslupgr branch June 10, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants