crypto/x509: RevocationList.CheckSignatureFrom doesn't check Subject #60728
Labels
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
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I try to validate CRL files. I use three CA certificate:
With openssl I observe this behaviour:
It's the expected behaviour.
With Golang primitives, the last case is true. This behaviour is wrong.
I join zip file with a poc.
What did you expect to see?
I Expect the function
CheckSignatureFrom()
with certificateca_wrong.pem
return an errorWhat did you see instead?
Function
CheckSignatureFrom()
with certificateca_wrong.pem
end with successpoc.zip
The text was updated successfully, but these errors were encountered: