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 DER-encoded CRTs to library/certs.c #2254

Closed
hanno-becker opened this issue Dec 3, 2018 · 3 comments · Fixed by #2260
Closed

Add DER-encoded CRTs to library/certs.c #2254

hanno-becker opened this issue Dec 3, 2018 · 3 comments · Fixed by #2260

Comments

@hanno-becker
Copy link

When building with MBEDTLS_PEM_PARSE_C and MBEDTLS_FS_IO unset, ssl_client2 and ssl_server2 fail to parse any hardcoded test CRTs because those are stored in PEM format in library/certs.c. This hardens testing of such minimal configurations.

A potential solution is to also provide DER-encodings of the certificates in library/certs.c.

@RonEld
Copy link
Contributor

RonEld commented Dec 3, 2018

I tend to think this is a bug, because in these conditions, I would expect the application to have a stub main() functions, like when other configurations are unset.

@hanno-becker
Copy link
Author

@RonEld Yes, I agree. Thanks for taking a look!

@ciarmcom
Copy link

ciarmcom commented Dec 4, 2018

ARM Internal Ref: IOTSSL-2655

hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Dec 5, 2018
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Mar 5, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Mar 13, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Mar 13, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Mar 14, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Apr 10, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Apr 10, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Apr 10, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Apr 10, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Apr 10, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Apr 10, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue Apr 23, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue May 1, 2019
hanno-becker pushed a commit to hanno-becker/mbedtls that referenced this issue May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants