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

GH-364: Use flags for RSA signature requests in AbstractAgentClient #366

Merged
merged 1 commit into from
May 2, 2023

Conversation

tomaswolf
Copy link
Member

Respect the flags in OpenSSH signing requests. These flags tell what kind of signature should be produced for an RSA key: ssh-rsa, rsa-sha2-256, or rsa-sha2-512.

Previous code code only set the flags on the client side, but ignored them in the server side and thus always answered with a ssh-rsa signature.

Fixes #364.

…ient

Respect the flags in OpenSSH signing requests. These flags tell what
kind of signature should be produced for an RSA key: ssh-rsa,
rsa-sha2-256, or rsa-sha2-512.

Previous code only set the flags on the client side, but ignored
them in the server side and thus always answered with an ssh-rsa
signature.

Bug: apache#364
@tomaswolf tomaswolf merged commit d4b951a into apache:master May 2, 2023
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.

SSH agent answers rsa-sha2-256 signing request as ssh-rsa
1 participant