-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
x/crypto/ocsp: asn1 marshal failed with ocsp #19212
Comments
Revocation time in the template is not set. This is not an optional field. Also, could you please post the ans1 encoded blob (output.ocsp) ? And result of |
After i set revocation time to ocsp response template it works fine on 1.8.
|
I am not sure that it is bug in go
asn1
or it's inx/ocsp
What version of Go are you using (
go version
)?i am using go version
go1.8 linux/amd64
and go versiongo1.7.5 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
i am generating ocsp response with
golang.org/x/crypto/ocsp
witch useasn1
inside. And after upgrading to go1.8 i have this problems.when i run this code on go 1.8 i have no errors, but when i am trying to read this response with openssl i have an error
but if i run same code with go1.7 it works fine and openssl run without errors.
Also i found that if i set
remplate.RevocationReason
to non zero value it also works good on go1.8The text was updated successfully, but these errors were encountered: