zmap / zlint

X.509 Certificate Linter focused on Web PKI standards and requirements.
https://zmap.io
Apache License 2.0
347 stars 107 forks source link

Add lint for S/MIME subject directory attributes extension (7.1.2.3j) #798

Closed bitlux closed 4 months ago

bitlux commented 4 months ago

I tried but failed to create a negative test case for this. The x509.Certificate type does not have subject directory attributes, and as far as I can tell, OpenSSL does not support writing them from the command line.