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
13 stars 9 forks source link

FIPS: Refactor processing of Algorithms #210

Closed adamjanovsky closed 2 years ago

adamjanovsky commented 2 years ago

Currently, there's no public function for processing of AlgorithmDataset in FIPS, but a boolean flag that invokes the private calls instead. As the only thing that happens with algorithm dataset is get_certs_from_web(), they should be processed in similar fashion to CC Maintenance updates. In exact, there should be no boolean flags not_download_algs but a single public function process_algorithms() that handles the logic and assigns to dset.algorithms.

The public function should be invoked by separate action algorithms from fips_cli.