-
Notifications
You must be signed in to change notification settings - Fork 84
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.5.0-alpha.1+0b3de6f
#213
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Taowyoo
force-pushed
the
yx/upgrade-mbedtls
branch
from
November 4, 2022 21:22
47f638e
to
875d785
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Taowyoo
force-pushed
the
yx/upgrade-mbedtls
branch
from
November 8, 2022 19:45
410eb29
to
c6a7bd6
Compare
Taowyoo
force-pushed
the
yx/upgrade-mbedtls
branch
2 times, most recently
from
December 21, 2022 17:54
0251431
to
fb565a2
Compare
Taowyoo
changed the title
Upgrade rust-mbedtls to version 3.x
Upgrade mbedtls to version 3.2.1 and related staff in rust-mbedtls
Jan 3, 2023
Taowyoo
changed the title
Upgrade mbedtls to version 3.2.1 and related staff in rust-mbedtls
Upgrade mbedtls to version 3.2.1 and related stuff in rust-mbedtls
Jan 3, 2023
This comment was marked as outdated.
This comment was marked as outdated.
Taowyoo
changed the title
Upgrade mbedtls to version 3.2.1 and related stuff in rust-mbedtls
Upgrade mbedtls to version 3.2.X and related stuff in rust-mbedtls
May 2, 2023
Taowyoo
force-pushed
the
yx/upgrade-mbedtls
branch
from
May 2, 2023 20:18
5eb8ce9
to
022fdfd
Compare
Taowyoo
changed the title
Upgrade mbedtls to version 3.2.X and related stuff in rust-mbedtls
Upgrade C May 2, 2023
mbedtls
to version 3.4.0
with TLS server side version negotiation
Taowyoo
force-pushed
the
yx/upgrade-mbedtls
branch
from
May 3, 2023 00:21
022fdfd
to
426d740
Compare
Closed
Taowyoo
force-pushed
the
yx/upgrade-mbedtls
branch
2 times, most recently
from
May 10, 2023 19:14
c20b146
to
ac30080
Compare
Upgrade to c-mbedtls commit: `0b3de6fce`, where: - pull request #7288 is merged - #7288: TLS: TLS 1.2 / 1.3 version negotiation on server side Signed-off-by: Yuxiang Cao <[email protected]>
Taowyoo
force-pushed
the
yx/upgrade-mbedtls
branch
from
June 26, 2023 22:25
6393d86
to
78090be
Compare
1. Added conditional compilation flags "MBEDTLS_FORCE_AESNI" and "MBEDTLS_FORCE_PADLOCK" 2. This allows us to supress cpuid based feature detection on sgx platforms. 3. "MBEDTLS_FORCE_AESNI" gets set if "force_aesni_support" flag is enabled. 4. Please refer to the previous commit for rust side changes.
- Bump mbedtls-sys version to 3.5.0-alpha.1+0b3de6f - Bump version to distinguish with 3.4.0 mbedtls
- add server mix version tests - add test_import_pkcs8_encrypted_rsa_key - fix ssl_conf_ca_cb.rs - add bench test for pbkdf2_hmac
Taowyoo
force-pushed
the
yx/upgrade-mbedtls
branch
from
June 26, 2023 23:11
78090be
to
7a1e697
Compare
xinyufort
reviewed
Jun 27, 2023
xinyufort
reviewed
Jun 27, 2023
xinyufort
reviewed
Jun 27, 2023
xinyufort
reviewed
Jun 27, 2023
xinyufort
approved these changes
Jun 27, 2023
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.
As discussed, so far so good. Yuxiang to make followup PRs for any lingering issues
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is based on #278
Overview
This PR introduces some major changes:
mbedtls
code from version3.4.0
to a commit at development version: 0b3de6fcembedtls
migration guide for 3.X here 3.0-migration-guide.md to3.5.0
) that contains the Server Side Version Negotiation, we need to upgrade to3.5.0
once it's released, its estimated release date is 2023-09-30, Ref: https://github.com/orgs/Mbed-TLS/projects/1#column-19402885mbedtls-sys-auto
crate to sync up with vendor code change:3.5.0-alpha.1+0b3de6f
to represent we are using a deveoplent version of upstream codeBreaking Changes:
Note: entries with 💥 are ensured that they will break the downstream.
Changes in
mbedtls-sys-auto
Vendor code changes
Upstream changes:
mbeldtls
code to3.5.0-alpha.1+0b3de6f
, which is at commit in developent branch: 0b3de6fce : this is needed to be able to use a functional complete TLS 1.3 stack implementation. Here I use the pre-release version value since upstream has not release3.5.0
yet, see: https://doc.rust-lang.org/cargo/reference/semver.htmlrust code changes
Dependencies:
mbedtls-sys
version to3.5.0-alpha.1+0b3de6f
Changes in
mbedtls
Dependencies:
mbedtls-sys-auto
version to3.5.0-alpha.1+0b3de6f