Skip to content

fix(ssh): reject RSA private keys with p or q <= 1 - #52

Merged
timweri merged 2 commits into
mainfrom
fix/rsa-small-prime-panic
Oct 23, 2026
Merged

timweri merged 2 commits into
mainfrom
fix/rsa-small-prime-panic

Conversation

@timweri

@timweri timweri commented Sep 27, 2026

Copy link
Copy Markdown
Collaborator

Flagged by Opus 5.5. When p, q in {0, 1}, rsa parsing panics. I don't know if we need this but opening this for tracking.

@timweri
timweri marked this pull request as ready for review September 27, 2026 04:32
@timweri timweri added the enhancement New feature or request label Sep 27, 2026
@timweri
timweri requested a review from obelisk October 3, 2026 16:47
@timweri
timweri merged commit b2e091f into main Oct 23, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants