Skip to content

Choose message digest for ECDSA explicitly in tests - #33

Open
dwhjames wants to merge 1 commit into
microsoft:mainfrom
dwhjames:sha2-384_replace_sha1
Open

Choose message digest for ECDSA explicitly in tests#33
dwhjames wants to merge 1 commit into
microsoft:mainfrom
dwhjames:sha2-384_replace_sha1

Conversation

@dwhjames

@dwhjames dwhjames commented Nov 11, 2025

Copy link
Copy Markdown

Some versions of OpenSSL may default to SHA-1 for the openssl x509 -req command. (This was the case for me.)

Update Makefile.certs for generate test certificates to specify digest choice explicitly. SHA2-384 chosen to match the existing choice of secp384r1 as the EC params.

Related:

@dwhjames

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree company="Gemini"

Some versions of OpenSSL may default to SHA-1 for the `openssl x509 -req`
command. (This was the case for me.)

Update Makefile.certs for generate test certificates to specify digest
choice explicitly. `SHA2-384`` chosen to match the existing choice of
`secp384r1` as the EC params.

Related:
- sigstore/cosign#2091
- golang/go#41682
@dwhjames
dwhjames force-pushed the sha2-384_replace_sha1 branch from 49a7596 to 0a61a18 Compare July 27, 2026 22:40
@dwhjames

Copy link
Copy Markdown
Author

@takuro-sato

I see that you recently make changes to this part of the codebase.

I had made this minor contribution last year to improve the OpenSSL compatibility of this Makefile.

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.

1 participant