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

Add support for parsing trusted PEM certs #8400

Merged

Conversation

ColtonWilley
Copy link
Contributor

Add support for parsing PEM certificates with begin trusted cert header/footer, needed for wolfProvider.

Fixes zd 18906

@ColtonWilley
Copy link
Contributor Author

Retest this please.

Copy link
Contributor

@JacobBarthelmeh JacobBarthelmeh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code change looks good. Needs a test case added though before merging.

Copy link
Contributor

@JacobBarthelmeh JacobBarthelmeh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test case looks good. One last item, is having new certificates be generated by the appropriate .sh script. In this case likely ./certs/test/gen-testcerts.sh. Not sure if ossl-trusted-cert.pem also needs added to the certs/test/include.am, but please try make distcheck to be sure.

@ColtonWilley
Copy link
Contributor Author

Dang, I thought since I am only testing PEM to DER conversion it would be ok to even expire in the future, but you are right the diskcheck fails. I will add it to the generation script.

@JacobBarthelmeh JacobBarthelmeh merged commit 4891d1c into wolfSSL:master Jan 31, 2025
163 checks passed
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

Successfully merging this pull request may close these issues.

3 participants