Skip to content

Change default_bits to 2048 required by security level 2 (default sin… - #20176

Open
velemas wants to merge 1 commit into
php:PHP-8.3from
velemas:PHP-8.3
Open

Change default_bits to 2048 required by security level 2 (default sin…#20176
velemas wants to merge 1 commit into
php:PHP-8.3from
velemas:PHP-8.3

Conversation

@velemas

@velemas velemas commented Oct 15, 2025

Copy link
Copy Markdown

This PR fixes the issue #20175

@Sjord

Sjord commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Looks good to me.

There are some other places with default_bits = 1024:

  • ext/phar/tests/files/openssl.cnf
  • ext/openssl/tests/openssl.cnf
  • ext/openssl/tests/gh9339.phpt

Should these also be changed?

@nikic, @remicollet, could you take a look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants