Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete and correct support for directoryName constraints #19

Open
ctz opened this issue Dec 22, 2022 · 0 comments
Open

Complete and correct support for directoryName constraints #19

ctz opened this issue Dec 22, 2022 · 0 comments

Comments

@ctz
Copy link
Member

ctz commented Dec 22, 2022

Just to record: this and the parent repo do not correctly process directoryName name constraints. The easier reproducer for this is (in rustls):

$ ./target/debug/tlsclient-mio --http www.indicepa.gov.it
TLS error: InvalidCertificateData("invalid peer certificate: UnknownIssuer")

The issuer here is https://crt.sh/?id=5715019745&opt=cablint,x509lint,zlint and we're incorrectly processing the constraint against the end-certificate subject. There seems to be a lack of code that dissects the subject into name attributes, and no code at all for comparing sets of DN attributes for equality?

golang has the same issue golang/go#55872

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant