Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Allow RSA signatures using SHA-1 hash algorithm #3614

Merged
merged 1 commit into from
May 26, 2022
Merged

Allow RSA signatures using SHA-1 hash algorithm #3614

merged 1 commit into from
May 26, 2022

Conversation

dimbleby
Copy link
Contributor

This was disabled by default at openssh 8.8 but is still used by some git implementations eg Azure DevOps

Fixes #3611

Per that issue, would welcome a release containing this fix - flux 1.25.0 is meanwhile not usable for us.

This was disabled by default at openssh 8.8 but is still used by some
git implementations eg Azure DevOps

Signed-off-by: David Hotham <david.hotham@microsoft.com>
@kingdonb
Copy link
Member

I will take your word for it that our images before 1.25.0 did not have this regression, and this is the correct fix. I have not been using either Azure DevOps or Google Code Repository so I haven't seen this behavior in any of my testing.

I think that SHA-1 was deprecated for a reason, but in Flux v1 there is a backwards compatibility guarantee, we should not have broken this. I think we should find a way with gitsrv to emulate the described SHA-1 signature behavior and reproduce the issue in a test, so that we can guarantee it does not reoccur in future updates. 👍 Thanks for the contribution @dimbleby !

@kingdonb kingdonb requested review from pjbgf and kingdonb May 26, 2022 12:07
Copy link
Member

@kingdonb kingdonb left a comment

Choose a reason for hiding this comment

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

LGTM

@kingdonb kingdonb merged commit 4785fbb into fluxcd:master May 26, 2022
@dimbleby dimbleby deleted the allow-rsa-sha-1 branch May 26, 2022 12:42
@kingdonb kingdonb mentioned this pull request May 26, 2022
@kingdonb kingdonb added this to the 1.25.2 milestone May 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Git cloning over SSH broken starting from version 1.25.0
2 participants