Skip to content

Reject private exponents greater or equal to n - #738

Merged
tarcieri merged 1 commit into
masterfrom
reject-private-exponents-greater-or-equal-to-n
Nov 1, 2026
Merged

tarcieri merged 1 commit into
masterfrom
reject-private-exponents-greater-or-equal-to-n

Conversation

@tarcieri

@tarcieri tarcieri commented Nov 1, 2026

Copy link
Copy Markdown
Member

Enforce the RFC8017 section 3.2 requirement that d < n during shared private-key validation.

The existing RSA congruence checks alone accept larger equivalent exponents.

Enforce the RFC8017 section 3.2 requirement that d < n during shared
private-key validation. The existing RSA congruence checks alone accept
larger equivalent exponents.
@tarcieri
tarcieri merged commit 412a242 into master Nov 1, 2026
13 checks passed
@tarcieri
tarcieri deleted the reject-private-exponents-greater-or-equal-to-n branch November 1, 2026 00:44
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.

1 participant