Files
podman/vendor/github.com/smallstep/pkcs7/internal/legacy/x509/doc.go
Paul Holzinger 1dbd68f061 vendor latest c/common from main
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2025-01-07 13:35:43 +01:00

15 lines
633 B
Go

/*
Package legacyx509 is a copy of certain parts of Go's crypto/x509 package.
It is based on Go 1.23, and has just the parts copied over required for
parsing X509 certificates.
The primary reason this copy exists is to keep support for parsing PKCS7
messages containing Simple Certificate Enrolment Protocol (SCEP) requests
from Windows devices. Go 1.23 made a change marking certificates with a
critical authority key identifier as invalid, which is mandated by RFC 5280,
but apparently Windows marks those specific certificates as such, resulting
in those SCEP requests failing from being parsed correctly.
*/
package legacyx509