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

[ms-go1.22-support] Support MD5SHA1 in PKCS1 v1.5 signatures #228

Closed
wants to merge 2 commits into from

Conversation

qmuntal
Copy link
Collaborator

@qmuntal qmuntal commented Nov 26, 2024

SymCrypt added support for using MD5SHA1 in PKCS1 v1.5 signatures, but we don't handle it correctly. This PR special case MD5SHA1 so it is used even when EVP_MD_fetch says it is not supported.

@gdams gdams changed the title [ms-go1.22-support] Support MD5HA1 in PKCS1 v1.5 signatures [ms-go1.22-support] Support MD5SHA1 in PKCS1 v1.5 signatures Nov 26, 2024
rsa_test.go Outdated Show resolved Hide resolved
Co-authored-by: Davis Goodin <dagood@users.noreply.github.com>
@qmuntal qmuntal marked this pull request as draft November 26, 2024 19:00
@qmuntal
Copy link
Collaborator Author

qmuntal commented Nov 26, 2024

Not sure if this worth backporting, as triggering this issue using the Go 1.23 crypto/tls package is not currently possible. It can only be triggered in synthetic tests. Will have to think more about it.

@qmuntal qmuntal closed this Nov 28, 2024
@qmuntal qmuntal deleted the msgo1.22-md5sha1 branch November 28, 2024 08:36
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