What version of Go are you using (go version)?
1.10.2
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
What did you do?
Trying to get the UID from certificate attributes.
What did you expect to see?
pkix.Name object with the UID field in it.
What did you see instead?
OID for the UserID http://www.alvestrand.no/objectid/0.9.2342.19200300.100.1.1.html is not defined in the https://golang.org/src/crypto/x509/pkix/pkix.go, so it is not being parsed.
What version of Go are you using (
go version)?1.10.2
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env)?What did you do?
Trying to get the UID from certificate attributes.
What did you expect to see?
pkix.Nameobject with theUIDfield in it.What did you see instead?
OID for the UserID http://www.alvestrand.no/objectid/0.9.2342.19200300.100.1.1.html is not defined in the https://golang.org/src/crypto/x509/pkix/pkix.go, so it is not being parsed.