Skip to content

Make ML-DSA optional - #401

Merged
simo5 merged 1 commit into
latchset:mainfrom
rjeffman:opt_mldsa
Sep 19, 2026
Merged

simo5 merged 1 commit into
latchset:mainfrom
rjeffman:opt_mldsa

Conversation

@rjeffman

Copy link
Copy Markdown
Collaborator

This patch detects if ML-DSA is usable during runtime, and configure jwcrypto to use it, if available. When not available, use of ML-DSA will raise a NotImplementedError.

This change allows the use of PyCA cryptography versions that do not support ML-DSA, which is required by some older systems.

Assisted-by: Claude Code Haiku 4.5 noreply@anthropic.com

@rjeffman
rjeffman requested a review from simo5 September 18, 2026 17:34
This patch detects if ML-DSA is usable during runtime, and configure
jwcrypto to use it, if available. When not available, use of ML-DSA will
raise a NotImplementedError.

This change allows the use of PyCA cryptography versions that do not
support ML-DSA, which is required by some older systems.

Assisted-by: Claude Code Haiku 4.5 <noreply@anthropic.com>
Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>

@simo5 simo5 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@simo5
simo5 merged commit 14b32e7 into latchset:main Sep 19, 2026
16 checks passed
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.

2 participants