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-arm opened this issue Dec 3, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@hanno-arm
Copy link
Contributor

commented Dec 3, 2018

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

This comment has been minimized.

Copy link
Contributor

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-arm

This comment has been minimized.

Copy link
Contributor Author

commented Dec 4, 2018

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

@hanno-arm hanno-arm added bug tracking and removed enhancement labels Dec 4, 2018

@ciarmcom

This comment has been minimized.

Copy link
Member

commented Dec 4, 2018

ARM Internal Ref: IOTSSL-2655

@ciarmcom ciarmcom added the mirrored label Dec 4, 2018

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Dec 5, 2018

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Mar 5, 2019

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Mar 13, 2019

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Mar 13, 2019

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Mar 14, 2019

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Apr 10, 2019

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Apr 10, 2019

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Apr 10, 2019

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Apr 10, 2019

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Apr 10, 2019

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Apr 10, 2019

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue Apr 23, 2019

hanno-arm added a commit to hanno-arm/mbedtls that referenced this issue May 1, 2019

hanno-arm added a commit to hanno-arm/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
You can’t perform that action at this time.