Skip to content

Add 'private_key_bits' option to EC key generation#630

Merged
Spomky merged 1 commit into4.0.xfrom
bugs/ec-key-size
Aug 5, 2025
Merged

Add 'private_key_bits' option to EC key generation#630
Spomky merged 1 commit into4.0.xfrom
bugs/ec-key-size

Conversation

@Spomky
Copy link
Member

@Spomky Spomky commented Aug 5, 2025

Documented the addition of the 'private_key_bits' option with a comment clarifying its non-standard usage for EC keys.

Target branch: 4.0.x
Resolves issue #611

  • It is a Bug fix
  • It is a New feature
  • It is related to dependencies

Includes:

  • Breaks BC
  • Deprecations

This bug is not related to the Web Token Suite, but can be resolved with this simple tweak.

Documented the addition of the 'private_key_bits' option with a comment clarifying its non-standard usage for EC keys.
@Spomky Spomky added this to the 4.0.5 milestone Aug 5, 2025
@Spomky Spomky self-assigned this Aug 5, 2025
@Spomky Spomky added the bug label Aug 5, 2025
@Spomky Spomky merged commit cff939c into 4.0.x Aug 5, 2025
12 of 14 checks passed
@Spomky Spomky deleted the bugs/ec-key-size branch August 5, 2025 14:17
Spomky added a commit that referenced this pull request Aug 5, 2025
Documented the addition of the 'private_key_bits' option with a comment clarifying its non-standard usage for EC keys.
Spomky added a commit that referenced this pull request Aug 5, 2025
Documented the addition of the 'private_key_bits' option with a comment clarifying its non-standard usage for EC keys.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JWKFactory::createECKey() error openssl_pkey_new(): Private key length must be at least 384 bits, configured to 0

1 participant