Skip to content

Choose message digest for ECDSA explicitly in tests - #33

Open
Daniel James (dwhjames) wants to merge 1 commit into
microsoft:mainfrom
dwhjames:sha2-384_replace_sha1
Open

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

Conversation

@dwhjames

@dwhjames Daniel James (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

Copy link
Copy Markdown
Author

Takuro Sato (@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