Skip to content

Bump default key length to 2048 and change fingerprint to SHA1 #3555

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

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

rkoster
Copy link
Contributor

@rkoster rkoster commented Dec 14, 2023

FIPS 140-2 mode requires keys at least 2048 bits length for RSA The use of MD5 hashes is not FIPS-compliant

SHA1 fingerprints are already supported by diego-ssh: https://github.com/cloudfoundry/diego-ssh/blob/main/proxy/proxy.go#L367-L369

Addresses part of the issues identified in: #3544

FIPS 140-2 mode requires keys at least 2048 bits length for RSA
The use of MD5 hashes is not FIPS-compliant

SHA1 fingerprints are already supported by diego-ssh:
https://github.com/cloudfoundry/diego-ssh/blob/main/proxy/proxy.go#L367-L369
Copy link
Member

@a-b a-b left a comment

Choose a reason for hiding this comment

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

LGTM

@rkoster rkoster requested a review from philippthun December 15, 2023 15:06
@philippthun philippthun merged commit 9941def into main Dec 15, 2023
@rkoster rkoster deleted the fips-diego-ssh-key branch December 15, 2023 15:32
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.

3 participants