aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGeogeFI2022-04-01 19:50:35 +0200
committerGeogeFI2022-04-01 19:50:35 +0200
commitd0a4b86d2229ed2160ff778ac1eae65b32bb8ba8 (patch)
treeb9df2807148c4b0c0fb63367b396c3a193b195d3
parent67436fc2576a3eb630c759cc6e82db1521e1a04d (diff)
downloadsec-certs-d0a4b86d2229ed2160ff778ac1eae65b32bb8ba8.tar.gz
sec-certs-d0a4b86d2229ed2160ff778ac1eae65b32bb8ba8.tar.zst
sec-certs-d0a4b86d2229ed2160ff778ac1eae65b32bb8ba8.zip
fix: Matching anssi certs with recertification, removed regex for turkish certs
-rw-r--r--sec_certs/cert_rules.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sec_certs/cert_rules.py b/sec_certs/cert_rules.py
index 97b4424d..ba0a28d8 100644
--- a/sec_certs/cert_rules.py
+++ b/sec_certs/cert_rules.py
@@ -12,7 +12,7 @@ rules_cert_id = [
"BSI-DSZ-CC-[0-9]+-[0-9][0-9][0-9][0-9]", # German BSI (number + year, no version)
"BSI-DSZ-CC-[0-9]+-(?:V|v)[0-9]+(?!-)", # German BSI (number + version but no year => no - after version)
# 'CC-Zert-.+?',
- "ANSSI(?:-|-CC-)[0-9]+?/[0-9]+", # French
+ "ANSSI(?:-|-CC-)[0-9]+?/[0-9]+(v[1-9])?", # French
"ANSS[Ii]-CC-[0-9][0-9][0-9][0-9][/-_][0-9][0-9]+(?!-M|-S)", # French (/two or more digits then NOT -M or -S)
"ANSS[Ii]-CC-[0-9][0-9][0-9][0-9][/-_][0-9]+[_/-]M[0-9]+", # French, maintenance report (ANSSI-CC-2014_46_M01)
"ANSS[Ii]-CC-[0-9][0-9][0-9][0-9][/-_][0-9]+[_/-]S[0-9]+", # French, surveillance report (ANSSI-CC-2012/70-S01)
@@ -52,7 +52,6 @@ rules_cert_id = [
# will miss STQC/CC/14-15/12/ETR/0017
"(?:IC3S|STQC/CC)/[^ ]+?/CR ", # must end with CR, no space inside
"CSA_CC_[0-9]+", # Singapure (CSA_CC_19001)
- "BTBD-.+?", # Turkis CCCS
"[0-9][0-9][0-9]-[47]-[0-9][0-9][0-9](-CR)*", # Canada xxx-{47}-xxx (383-4-438, 383-4-82-CR)
]