-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
Update Mbed TLS to v3.6.0 #2992
Conversation
WalkthroughThe recent updates mainly involve version upgrades for various Dockerfiles and the mbedtls library across different development containers. Base images have been updated to improve security and performance. The mbedtls library version has been upgraded from Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
- Update CMake. - Update dev containers and bump versions. - Add new API required by Mbed TLS for time base.
e52f993
to
53ccc2b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (11)
- .devcontainer/All/Dockerfile.All (1 hunks)
- .devcontainer/All/Dockerfile.All.SRC (1 hunks)
- .devcontainer/All/scripts/git-pull-repos.sh (1 hunks)
- .devcontainer/AzureRTOS/Dockerfile.AzureRTOS (1 hunks)
- .devcontainer/AzureRTOS/Dockerfile.AzureRTOS.SRC (1 hunks)
- .devcontainer/ChibiOS/Dockerfile.ChibiOS (1 hunks)
- .devcontainer/ChibiOS/Dockerfile.ChibiOS.SRC (1 hunks)
- .devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP (1 hunks)
- .devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP.SRC (1 hunks)
- CMake/binutils.common.cmake (1 hunks)
- src/PAL/COM/sockets/ssl/MbedTLS/ssl_generic.cpp (1 hunks)
Files skipped from review due to trivial changes (4)
- .devcontainer/All/Dockerfile.All
- .devcontainer/AzureRTOS/Dockerfile.AzureRTOS
- .devcontainer/ChibiOS/Dockerfile.ChibiOS
- CMake/binutils.common.cmake
Additional comments not posted (7)
.devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP (1)
1-1
: Verify the reason for downgrading the base image version.Downgrading from
v1.02
tov1.01
may reintroduce bugs or security issues that were fixed in the newer version. Ensure this change is intentional and won't negatively impact the development environment..devcontainer/All/scripts/git-pull-repos.sh (1)
18-18
: Verify compatibility with the newmbedtls
version.Upgrading from
mbedtls-3.5.2
tombedtls-3.6.0
may introduce new features, bug fixes, or breaking changes. Ensure that the rest of the codebase is compatible with this new version and that any necessary adjustments are made..devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP.SRC (1)
58-58
: Verify compatibility with the newmbedtls
version.Upgrading from
mbedtls-3.5.2
tombedtls-3.6.0
may introduce new features, bug fixes, or breaking changes. Ensure that the rest of the codebase is compatible with this new version and that any necessary adjustments are made..devcontainer/ChibiOS/Dockerfile.ChibiOS.SRC (1)
68-68
: Verify compatibility with mbedtls 3.6.0.Ensure that the new version of
mbedtls
(3.6.0) is compatible with the rest of the project and does not introduce any breaking changes..devcontainer/AzureRTOS/Dockerfile.AzureRTOS.SRC (1)
70-70
: Verify compatibility with mbedtls 3.6.0.Ensure that the new version of
mbedtls
(3.6.0) is compatible with the rest of the project and does not introduce any breaking changes.src/PAL/COM/sockets/ssl/MbedTLS/ssl_generic.cpp (1)
214-218
: LGTM! Ensure the new function is tested.The new function
mbedtls_ms_time
is straightforward and enhances functionality. Ensure that this function is properly tested..devcontainer/All/Dockerfile.All.SRC (1)
81-81
: LGTM! Verify the compatibility of the new mbedtls version.The update from
mbedtls-3.5.2
tombedtls-3.6.0
appears correct.However, ensure that the new version is compatible with the rest of the development environment and does not introduce any breaking changes or new dependencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (11)
- .devcontainer/All/Dockerfile.All (1 hunks)
- .devcontainer/All/Dockerfile.All.SRC (1 hunks)
- .devcontainer/All/scripts/git-pull-repos.sh (1 hunks)
- .devcontainer/AzureRTOS/Dockerfile.AzureRTOS (1 hunks)
- .devcontainer/AzureRTOS/Dockerfile.AzureRTOS.SRC (1 hunks)
- .devcontainer/ChibiOS/Dockerfile.ChibiOS (1 hunks)
- .devcontainer/ChibiOS/Dockerfile.ChibiOS.SRC (1 hunks)
- .devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP (1 hunks)
- .devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP.SRC (1 hunks)
- CMake/binutils.common.cmake (1 hunks)
- src/PAL/COM/sockets/ssl/MbedTLS/ssl_generic.cpp (1 hunks)
Files skipped from review due to trivial changes (3)
- .devcontainer/AzureRTOS/Dockerfile.AzureRTOS
- .devcontainer/ChibiOS/Dockerfile.ChibiOS
- CMake/binutils.common.cmake
Files skipped from review as they are similar to previous changes (8)
- .devcontainer/All/Dockerfile.All
- .devcontainer/All/Dockerfile.All.SRC
- .devcontainer/All/scripts/git-pull-repos.sh
- .devcontainer/AzureRTOS/Dockerfile.AzureRTOS.SRC
- .devcontainer/ChibiOS/Dockerfile.ChibiOS.SRC
- .devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP
- .devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP.SRC
- src/PAL/COM/sockets/ssl/MbedTLS/ssl_generic.cpp
Description
Motivation and Context
How Has This Been Tested?
Screenshots
Types of changes
Checklist
Summary by CodeRabbit
New Features
Improvements
Bug Fixes