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

Relax the RSA/DSA decision for SSH2 keys #1190

Merged
merged 2 commits into from
May 22, 2024

Conversation

Rob-Hague
Copy link
Collaborator

Use the same logic as ssh-keygen:

https://github.com/openssh/openssh-portable/blob/b6b49130a0089b297245ee39e769231d7c763014/ssh-keygen.c#L510C6-L510C12

Fixes #960

(I would add a test, but I'm not sure how to generate a key with the type as in the issue)

@WojciechNagorski WojciechNagorski merged commit 49aed6f into sshnet:develop May 22, 2024
1 check passed
@Rob-Hague Rob-Hague deleted the ssh2keytype branch May 22, 2024 18:45
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.

Getting "Key type 'if-modn{sign{rsa-pkcs1-sha1},encrypt{rsa-pkcs1-none}}' is not supported" error
2 participants