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

Set digest algorithm to SHA256 to fix the insecure algorithm SHA1-RSA error. #191

Closed
wants to merge 8 commits into from

Conversation

shuningzhou
Copy link

Getting the following error after upgrading to go 1.18:
PKIOperation for PKCSReq (19): http request failed with status 500 Internal Server Error, msg: x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)

Fixed the issue by setting the digest algorithm to SHA256.

@jessepeterson
Copy link
Member

I don't think we can safely merge this as is. The SHA1/SHA2 stuff was "fixed" in Go 1.18.2, I believe. I'm open to talking more about it, though.

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