Skip to content
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

ssh-key: make all RSA private key fields private #274

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Aug 13, 2024

Also adds fallible constructors, and uses those in the Decode impls.

The new constructors ensure the provided Mpints are non-negative.

Also adds fallible constructors, and uses those in the `Decode` impls.

The new constructors ensure the provided `Mpints` are non-negative.
@tarcieri tarcieri merged commit 1be857b into master Aug 13, 2024
14 checks passed
@tarcieri tarcieri deleted the ssh-key/make-rsa-fields-private branch August 13, 2024 21:02
tarcieri added a commit that referenced this pull request Aug 13, 2024
Like we did for RSA in #274, this makes all fields of DSA keys private,
and also validates that their inner `Mpint`s are positive.
tarcieri added a commit that referenced this pull request Aug 13, 2024
Like we did for RSA in #274, this makes all fields of DSA keys private,
and also validates that their inner `Mpint`s are positive.
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