Skip to content

Add 'private_key_bits' option to EC key generation #630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 5, 2025
Merged

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