aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sec_certs/sample/cc_certificate_id.py
Commit message (Collapse)AuthorAgeFilesLines
* Improve CC scheme extraction and matching.J08nY2024-11-081-1/+17
| | | | | | | | | | | | This significantly improves the CC scheme extraction by: - Fixing the extraction of several schemes that were mixing certified and archived entries by accident. - Improving the extraction of cert_ids from scheme sites. - Improving the matching heuristic to consider more attributes that are usually present in the site data. Also adds an evaluation notebook to see how this performs.
* Handle some strict and loose rules after cleanup.J08nY2024-02-071-2/+3
|
* Extract and reconstruct cert ids from filenames.J08nY2024-02-051-20/+22
| | | | | | | | | | | | | | Before this, the regular cert_id regexes were used to extract the cert_id from the report filename. However, the filenames often do not use the same cert_id format, but contain all of the information necessary to reconstruct the cert_id, but with different order for example. This commit along with those before it introduce a new set of regular expressions that better match the ones in the filenames. To extract the correctly formatted canonical cert_id, the regexes are used to obtain the parts of the cert_id (using named groups in regexes) and those are then reconstructed into a canonical version of the cert_id via one of the scheme-dependent functions.
* Move the meta -> str functions out of cert_id class.J08nY2024-02-051-222/+180
|
* Add filename cert id rules.J08nY2024-02-051-1/+1
|
* Add certificateId meta property.J08nY2024-02-051-0/+18
|
* Improve Canadian rules.J08nY2024-02-051-5/+17
|
* Improve Turkish rules.J08nY2024-02-051-0/+12
|
* Improve Indian rules.J08nY2024-02-051-2/+12
|
* Improve Korean rules.J08nY2024-02-051-0/+13
|
* Improve Italian rules.J08nY2024-02-031-8/+1
|
* Improve Singaporean and Australian rules.J08nY2024-02-031-0/+17
|
* Improve Spanish rules.J08nY2024-02-031-13/+11
|
* Improve Swedish rules.J08nY2024-02-031-1/+8
|
* Improve UK rules.J08nY2024-02-031-2/+6
|
* Improve Japanese rules.J08nY2024-02-031-4/+12
|
* Improve Malaysian rules.J08nY2024-02-031-0/+14
|
* Improve US scheme rules.J08nY2024-02-031-3/+26
|
* Improve BSI regexes.J08nY2024-02-031-30/+31
|
* Cleanup ANSSI rules.J08nY2024-02-021-14/+14
|
* Improve NL cert_id rules.J08nY2024-02-021-1/+1
|
* merge fresh mainAdam Janovsky2023-11-141-0/+9
|\
| * Fix CC scheme certificate matching.J08nY2023-08-241-0/+9
| |
* | fix anssi cert_id normalizationadamjanovsky2023-09-171-3/+5
| |
* | WiP: introduce actually extracted cert_id_keywords instead of canonicalAdam Janovsky2023-09-171-1/+6
|/
* Add CC scheme matching for datasets.J08nY2023-04-141-4/+4
|
* flat -> src layout (#294)adamjanovsky2022-12-091-0/+151
- Some mypy fixes - Flat layout -> src layout - Ditch `setup.py` and `setup.cfg` in favour of `pyproject.toml` - Non-pinned requirements moved from `requirements/*.in` to `pyproject.toml`