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

Upgrade mbedtls to 3.0 #153

Merged
merged 3 commits into from
Oct 11, 2021

Conversation

jorgenpt
Copy link
Contributor

mbedtls 3.0 includes a couple of security fixes and removes many insecure, obsolete, or deprecated features. This should hopefully make porting mbedtls easier, so I'm upgrading yojimbo to 3.0.

Details about 3.0: https://github.com/ARMmbed/mbedtls/releases/tag/v3.0.0

In mbedtls 3.x they've removed the embedded certs from the library
itself, only to be embedded in the tests & tools. This fetches certs.c
and certs.h from their 3.0 release, with minor modifications to
the #includes to work outside of their test structure.

Source:
 - [tests/src/certs.c](https://github.com/ARMmbed/mbedtls/blob/v3.0.0/tests/src/certs.c)
 - [tests/include/certs.h](https://github.com/ARMmbed/mbedtls/blob/v3.0.0/tests/include/test/certs.h)
- Headers from 3.0 release zip
  (https://github.com/ARMmbed/mbedtls/releases/tag/v3.0.0)
- Binaries built with MSVS 2019 in RelWithDebInfo configuration

This also includes the .pdb files for the libraries, so that yojimbo
users can have access to the debug symbols.
- Use build_info.h instead of config.h
- Use embedded certs.h/certs.c for cacerts
@jorgenpt jorgenpt mentioned this pull request Oct 11, 2021
@gafferongames gafferongames merged commit 0aae831 into mas-bandwidth:master Oct 11, 2021
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.

2 participants