Revocation time in the template is not set. This is not an optional field.
Now, I can't remember how asn1 package handled zero time value. Maybe it have changed in 1.8
Also, could you please post the ans1 encoded blob (output.ocsp) ? And result of openssl asn1parse -inform DER -i -in output.ocsp
It would be nice to have the blobs from go 1.7 and 1.8, but the 1.8 one should be enough.
I am not sure that it is bug in go
asn1or it's in
What version of Go are you using (
i am using go version
go1.8 linux/amd64and go version
What operating system and processor architecture are you using (
What did you do?
i am generating ocsp response with
asn1inside. 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.RevocationReasonto non zero value it also works good on go1.8
The text was updated successfully, but these errors were encountered: