Skip to content

Add lint for duplicate ETSI-defined qCStatements#1060

Open
defacto64 wants to merge 3 commits into
zmap:masterfrom
defacto64:duplicate_etsi_qcstatement
Open

Add lint for duplicate ETSI-defined qCStatements#1060
defacto64 wants to merge 3 commits into
zmap:masterfrom
defacto64:duplicate_etsi_qcstatement

Conversation

@defacto64

Copy link
Copy Markdown
Contributor

The recently published version 2.6.1 of the ETSI EN 319 412-5 standard contains the following new clause:

QCS-4.1-02A: The qcStatements extension shall not include more than one instance of a particular qcStatement defined in this document.

This lint performs the corresponding check.

This lint applies exclusively to Qualified Certificates, regardless of their type (e-signature, e-seal, website authentication).

I haven't included many test cases because the code is very simple and I think that's enough.

@defacto64 defacto64 changed the title Duplicate etsi qcstatement Add lint for duplicate ETSI-defined qCStatements Jul 1, 2026
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

Successfully merging this pull request may close these issues.

1 participant