zmap / zlint

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

Add lint to check that the countryName attribute (C) is in uppercase #859

Closed defacto64 closed 1 week ago

defacto64 commented 2 weeks ago

This PR addresses issue https://github.com/zmap/zlint/issues/855

This lint only checks that the countryName is comprised of one or more [A-Z] characters as required by ISO 3166.

That the countryName is a valid ISO 3166 alpha-2 country code is already checked by an existing lint.