encoding/asn1: parsing issues w/ x509 #20430
Labels
FrozenDueToAge
help wanted
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?1.8.1
What operating system and processor architecture are you using (
go env
)?amd64, OSX
What did you do?
We are pulling a bunch of certs from CT logs, and occasionally run into the following ASN1 parse error (in the worst case, ~10% of the certificates from skydiver exhibit this problem)
asn1: structure error: tags don't match (16 vs {class:2 tag:0 length:3 isCompound:true}) {optional:false explicit:false application:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} tbsCertificate @2 <nil>
You can replicate this issue here: https://play.golang.org/p/IL-Ey-fSXt
What did you expect to see?
We expect these classes of certs to parse correctly. After all, they come from CT!
What did you see instead?
Parse errors :(
Does anyone have any thoughts?
The text was updated successfully, but these errors were encountered: