zmap / zlint

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

Lint Coverage of SMIME BRs version 1.0.0 #712

Open robplee opened 1 year ago

robplee commented 1 year ago
bitlux commented 11 months ago

Hello,

I'd like to help implement some of these lints. Would you be open to my contributions? I'm working on launching S/MIME certificates at my organization, and we'd like to be able to use zlint to lint S/MIME certificates, as we do with TLS.

I've already sent a PR (#779) for one of the lints on the list.

bitlux commented 9 months ago

I think

Extended key usage, all: serverAuth, codeSigning, timeStamping, anyExtendedKeyUsage SHALL NOT BE PRESENT (7.1.2.3.f)

was handled by #747. https://github.com/robplee/zlint/blob/1018dcd6368fbbc65846bc3b721aa83092aeb863/v3/lints/cabf_smime_br/smime_legacy_multipurpose_eku_check.go#L66 compares the EKU against the list of forbidden EKUs.