Skip to content

Implement key strength validation method#1237

Merged
julien-nc merged 2 commits intomainfrom
keyStrenghtCheck
Oct 30, 2025
Merged

Implement key strength validation method#1237
julien-nc merged 2 commits intomainfrom
keyStrenghtCheck

Conversation

@solracsf
Copy link
Member

@solracsf solracsf commented Oct 22, 2025

Added key strength validation for cryptographic keys.

  • Enforce key type matches algorithm.
  • Enforce RSA ≥ 2048-bit.
  • Enforce EC curves (P-256, P-384, P-521).
  • Enforce Ed25519 for EdDSA.

Besides security benefits, this also helps debugging.

Added key strength validation for cryptographic keys.

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@solracsf solracsf requested a review from julien-nc October 23, 2025 16:04
Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

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

Looks good, thanks a lot!

@julien-nc julien-nc merged commit d547150 into main Oct 30, 2025
42 checks passed
@julien-nc julien-nc deleted the keyStrenghtCheck branch October 30, 2025 09:21
@julien-nc julien-nc mentioned this pull request Dec 17, 2025
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