Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When merging CC certs, security level reports false mismatch #358

Open
J08nY opened this issue Sep 21, 2023 · 0 comments
Open

When merging CC certs, security level reports false mismatch #358

J08nY opened this issue Sep 21, 2023 · 0 comments
Labels
bug Something isn't working cc Related to CC certification

Comments

@J08nY
Copy link
Member

J08nY commented Sep 21, 2023

Describe the bug
In the CC processing pipelines, the HTML and CSV certificates are merged. This merging detects when something is mismatched between two certs with shared digest. However, there is currently a false positive based on the security_level field. For one side the field is set() (empty set) and for the other it is {""} (set with empty string). This gets reported for most certificates, so something is likely wrong with the security level parsing.

2023-09-21 12:07:52,490 - sec_certs.sample.certificate - WARNING - When merging certificates with dgst fcc7abb7b11d12d4, the following mismatch occured: Attribute=security_level, self[security_level]={''}, other[security_level]=set()
2023-09-21 12:07:52,490 - sec_certs.sample.certificate - WARNING - When merging certificates with dgst 8298c7814b3b2860, the following mismatch occured: Attribute=security_level, self[security_level]={''}, other[security_level]=set()
2023-09-21 12:07:52,490 - sec_certs.sample.certificate - WARNING - When merging certificates with dgst 979e00ac7d3e229c, the following mismatch occured: Attribute=security_level, self[security_level]={''}, other[security_level]=set()

To Reproduce
Run sec-certs cc build.

Desktop (please complete the following information):
Commit 30f7475
Run time 21.09.2023

@J08nY J08nY added bug Something isn't working cc Related to CC certification labels Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cc Related to CC certification
Projects
None yet
Development

No branches or pull requests

1 participant