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

keylime.cert_utils - WARNING - Failed to parse PEM data with python-cryptography: error parsing asn1 value: ParseError { kind: InvalidSetOrdering, location: ["RawCertificate::tbs_cert", "TbsCertificate::issuer", 0, 2] } #1452

Open
Jingshui1037 opened this issue Aug 13, 2023 · 3 comments

Comments

@Jingshui1037
Copy link

Is your issue a feature request? If so, please raise it as an enhancement

No

Environment

  • Keylime version: master

Description

Parsing the following certs in the tpm_cert_store will cause these warnings when using keylime_tenant with user-selected PCRs monitoring.

  • NTC2.pem
  • NUVO_1111.pem
  • NUVO_0100.pem
  • NUVO_2111.pem
  • NUVO_2110.pem
  • NUVO_1110.pem
  • NTC1.pem

image

Can we fix these warnings?

@sergio-correia
Copy link
Contributor

Related: pyca/cryptography#7189

@THS-on
Copy link
Member

THS-on commented Aug 14, 2023

Those warnings are expected and we could make them maybe more readable. @ansasaki @maugustosilva what do you think?

@maugustosilva
Copy link
Contributor

We should/could make it more readable indeed, but functionally there is nothing "wrong" here, and WARNING is the correct debug level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants