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

Fix publickey authentication with signed RSA key (#1963) #1977

Closed
wants to merge 1 commit into from
Closed

Fix publickey authentication with signed RSA key (#1963) #1977

wants to merge 1 commit into from

Conversation

jun66j5
Copy link
Contributor

@jun66j5 jun66j5 commented Jan 20, 2022

When paramiko client uses signed RSA key for publickey authentication, the session blob is generated with rsa-sha2-{256,512} and ssh-rsa rather than *-cert-v01@openssh.com in auth_handler.py. As the result, the publickey authentication is failed.

rsa-sha2-{256,512}-cert-v01@openssh.com and ssh-rsa-cert-v01@openssh.com should be used for the session blob when signed RSA key is used.

Copy link

@11chri 11chri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just checked your PR on Paramiko 2.9.2 and it fixes #1963

@bitprophet
Copy link
Member

@jun66j5 jun66j5 deleted the 2.9-rsa-cert-auth branch March 21, 2022 05:52
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.

None yet

3 participants