crocs-muni / sec-certs

Tool for analysis of security certificates and their security targets (Common Criteria, NIST FIPS140-2...).
https://sec-certs.org
MIT License
9 stars 7 forks source link

Canonicalize FIPS module type values #323

Closed J08nY closed 1 year ago

J08nY commented 1 year ago

Describe the bug The FIPS web_data.module_type values are currently too raw. A fresh run of the pipeline produces the following unique values:

                "module_type": "Firmware",
                "module_type": "Firmware-Hybrid",
                "module_type": "Firmware-hybrid",
                "module_type": "Hardware",
                "module_type": "Hybrid",
                "module_type": "Software Hybrid",
                "module_type": "Software",
                "module_type": "Software-Hybrid",

Expected behavior Only the following should be present:

                "module_type": "Firmware",
                "module_type": "Firmware-Hybrid",
                "module_type": "Hardware",
                "module_type": "Hybrid",
                "module_type": "Software",
                "module_type": "Software-Hybrid",