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

Use RSA-SHA2-256 when signing ssh certificates with an RSA key #33

Merged
merged 2 commits into from
Jan 27, 2022

Conversation

maraino
Copy link
Contributor

@maraino maraino commented Jan 27, 2022

Description

This PR replaces the default RSA hash algorithm of x/crypto/ssh, SHA-1 (ssh-rsa) with SHA256 (rsa-sha2-256).

This new signature scheme has been supported since 2016 with OpenSSH 7.2. And on OpenSSH 8.2 was announced that ssh-rsa will be deprecated, and it has been removed in OpenSSH 8.8

Copy link
Contributor

@dopey dopey left a comment

Choose a reason for hiding this comment

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

lgtm

@maraino maraino merged commit e6a14ce into master Jan 27, 2022
@maraino maraino deleted the ssh-rsa-sha256 branch January 27, 2022 21:07
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.

None yet

2 participants