What version of Go are you using (go version)?
go1.19rc1
Does this issue reproduce with the latest release?
Yes
What did you do?
Use x509.ParseRevocationList() to parse a CRL which contains the crlNumber and authorityKeyIdentifer extensions (such as one produced using x509.CreateRevocationList()).
See https://go.dev/play/p/6gSi8pmdzBd?v=gotip for a demonstration.
What did you expect to see?
The RevocationList.Number and RevocationList.AuthorityKeyId fields should be populated from the values in their corresponding extensions.
What did you see instead?
The .Number and .AuthorityKeyId fields retain their zero-values.
What version of Go are you using (
go version)?go1.19rc1
Does this issue reproduce with the latest release?
Yes
What did you do?
Use
x509.ParseRevocationList()to parse a CRL which contains the crlNumber and authorityKeyIdentifer extensions (such as one produced usingx509.CreateRevocationList()).See https://go.dev/play/p/6gSi8pmdzBd?v=gotip for a demonstration.
What did you expect to see?
The
RevocationList.NumberandRevocationList.AuthorityKeyIdfields should be populated from the values in their corresponding extensions.What did you see instead?
The
.Numberand.AuthorityKeyIdfields retain their zero-values.