zmap / zlint

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

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

Closed defacto64 closed 5 months ago

defacto64 commented 5 months 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.