From eeceb0706014b3a984ac64f390437f4fcea689c1 Mon Sep 17 00:00:00 2001 From: tadeas.kachyna Date: Sun, 26 Oct 2025 19:37:19 +0100 Subject: feat: add EUCC rules for certificate IDs --- src/sec_certs/rules.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/sec_certs/rules.yaml b/src/sec_certs/rules.yaml index 5dec1c1b..a366edfb 100644 --- a/src/sec_certs/rules.yaml +++ b/src/sec_certs/rules.yaml @@ -17,18 +17,24 @@ cc_cert_id: - "Rapport de certification (?P[0-9]{2,4})/(?P[0-9]+)([vV](?P[0-9]))?" - "Certification Report (?P[0-9]{2,4})/(?P[0-9]+)([vV](?P[0-9]))?" - "ANSS[Ii](?:-CC)?(?:-(?PPP|SITE))?[ -](?P[0-9]{2,4})[/_-](?P[0-9]+)(?:-(?P(?:[MSR][0-9]+)))?([vV](?P[0-9]))?" + - "EUCC-ANSSI-(?P[0-9]{4})-(?P[0-9]{2})-(?P[0-9]{2})" + - "EUCC-3090-(?P[0-9]{4})-(?P[0-9]{2})-(?P[0-9]{4})" # Examples: # DCSSI-2009/07 # ANSSI-CC 2001/02-R01 # Rapport de certification 2001/02v2 # Certification Report 2003/20 + # EUCC-ANSSI-2025-03-02 + # EUCC-3090-2025-10-0004 NL: - "(?:NSCIB-|CC-|NSCIB-CC-)(?P((?P[0-9]{2})-)?(?:-?[0-9]+)+)(?:-?(?P(?:CR|MA|MR)(?P[0-9]*)))?" + - "EUCC-3110-(?P[0-9]{4})-(?P[0-9]{2})-(?P[0-9]+)-(?P[0-9]+)" # Examples: # NSCIB-CC-22-0428888-CR2 (with year=22 and CR2) # NSCIB-CC-228723-CR (no year) # CC-16-31801-CR4 (no NSCIB) # NSCIB-CC-98209 (no year, no CR) + # EUCC-3110-2025-09-2500093-01 "NO": - "SERTIT-(?P[0-9]+)" # Examples: @@ -58,11 +64,13 @@ cc_cert_id: # CERTIFICATION REPORT No. P123A ES: - "(?P[0-9]{4})[-‐](?P[0-9]+)[-‐]INF[-‐](?P[0-9]+)(?:[ -‐]{1,2}[vV](?P[0-9]))?" + - "EUCC-3095-(?P[0-9]{4})-(?P[0-9]{2})-(?P[0-9]{2})" # Examples: # 2006-4-INF-98 v2 # 2020-34-INF-3784- v1 # 2019-20-INF-3379-v1 # 2011-14-INF-1095 (also without the version) + # EUCC-3095-2025-07-01 KR: - "KECS[-‐](?PISIS|NISS|CISS)[-‐](?P[0-9]{2,4})[-‐](?P[0-9]{4})" # XXX: Do not use KECS-CR as those refer to the certificate report and do not represent the certificate id. -- cgit v1.3.1