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

Introduce-reference-bool #317

Closed adamjanovsky closed 1 year ago

adamjanovsky commented 1 year ago

Minor fixes and introduces __bool__() method on Reference object so that one can select reference-rich certificates with [x for x in dset if x.heuristics.policy_processed_references]

codecov[bot] commented 1 year ago

Codecov Report

Base: 74.35% // Head: 74.34% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (d55ab3e) compared to base (c2d0bf8). Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #317 +/- ## ========================================== - Coverage 74.35% 74.34% -0.01% ========================================== Files 45 45 Lines 5606 5606 ========================================== - Hits 4168 4167 -1 - Misses 1438 1439 +1 ``` | [Impacted Files](https://codecov.io/gh/crocs-muni/sec-certs/pull/317?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=crocs-muni) | Coverage Δ | | |---|---|---| | [src/sec\_certs/dataset/dataset.py](https://codecov.io/gh/crocs-muni/sec-certs/pull/317?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=crocs-muni#diff-c3JjL3NlY19jZXJ0cy9kYXRhc2V0L2RhdGFzZXQucHk=) | `64.36% <ø> (-0.21%)` | :arrow_down: | | [src/sec\_certs/sample/certificate.py](https://codecov.io/gh/crocs-muni/sec-certs/pull/317?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=crocs-muni#diff-c3JjL3NlY19jZXJ0cy9zYW1wbGUvY2VydGlmaWNhdGUucHk=) | `85.25% <50.00%> (-1.19%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=crocs-muni). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=crocs-muni)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.