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

Add support for legacy RSA encoding #1

Merged
merged 2 commits into from
Feb 10, 2021
Merged

Add support for legacy RSA encoding #1

merged 2 commits into from
Feb 10, 2021

Conversation

diggyk
Copy link
Contributor

@diggyk diggyk commented Feb 10, 2021

Add support for ssh-rsa (RSA_PKCS1_2048_8192_SHA1_FOR_LEGACY_USE_ONLY)
which is still used by some legacy systems.

Add support for ssh-rsa (RSA_PKCS1_2048_8192_SHA1_FOR_LEGACY_USE_ONLY)
which is still used by some legacy systems
@diggyk
Copy link
Contributor Author

diggyk commented Feb 10, 2021

I know people shouldn't be using the legacy RSA SHA-1 stuff anymore, but there are still use cases where you need to verify them. I'm working on such a project so I needed to make this little change to get it working.

@obelisk
Copy link
Owner

obelisk commented Feb 10, 2021

Heyo, thanks for the PR!

Could you add some test cases, that way I can see what this covers that it didn't and we can make sure it doesn't get broken in the future?

@diggyk
Copy link
Contributor Author

diggyk commented Feb 10, 2021

This is basically what you get when you sign a key using -t ssh-rsa instead of just -t rsa.

@obelisk obelisk merged commit f5b40ac into obelisk:master Feb 10, 2021
@diggyk
Copy link
Contributor Author

diggyk commented Feb 10, 2021 via email

@obelisk
Copy link
Owner

obelisk commented Feb 10, 2021

Thanks for contributing!

@diggyk
Copy link
Contributor Author

diggyk commented Feb 10, 2021 via email

@obelisk
Copy link
Owner

obelisk commented Feb 10, 2021

I've tagged 0.3.10 with your change included. Thanks again!

@diggyk
Copy link
Contributor Author

diggyk commented Feb 11, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants