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

Acually use sigAlgo in CSR if the client supports it #118

Closed
wants to merge 1 commit into from
Closed

Acually use sigAlgo in CSR if the client supports it #118

wants to merge 1 commit into from

Conversation

thka2315
Copy link

The SHA1WithRSA signature algorithm is hardcoded even when it handled by scepclient.go.

@groob
Copy link
Member

groob commented Nov 17, 2020

Have you tested that this actually works?

I recall this issue being somewhat more complex due to the pkcs7 library not having the right APIs, but it's been a while.

@thka2315
Copy link
Author

Yes, I get a "Signature Algorithm: sha256WithRSAEncryption" certificate by just following the example in README.md.

@groob
Copy link
Member

groob commented Nov 17, 2020

Is your server also being built from HEAD? We rolled back changes related to this in #116

@thka2315
Copy link
Author

Aah, didn't see #116 . My server is built from HEAD. I think the rollback on the signature algorithm was a misstake.
The other code in #116 was about encryption algorithms.

@groob groob closed this Mar 7, 2021
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.

2 participants