-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
324: Update old branch `master` r=[s-arash] a=Taowyoo This PR back-port: - #323 - #325 to branch `master` Co-authored-by: YX Cao <[email protected]> Co-authored-by: Yuxiang Cao <[email protected]>
- Loading branch information
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,8 @@ on: | |
- trying | ||
pull_request: | ||
branches: | ||
- master | ||
- mbedtls-3 | ||
- main | ||
- 'v0.*' | ||
merge_group: | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,37 @@ | ||
> [!WARNING] | ||
> The state of this repertory is changed to maintenance. We will not accept any more feature requests. Please check [Change of status](#change-of-status) for details | ||
|
||
# mbedtls | ||
|
||
[![Build Status](https://travis-ci.com/fortanix/rust-mbedtls.svg?branch=master)](https://travis-ci.com/fortanix/rust-mbedtls) | ||
|
||
|
||
This is an idiomatic Rust wrapper for MbedTLS, allowing you to use MbedTLS with | ||
only safe code while being able to use such great Rust features like error | ||
handling and closures. | ||
|
||
Additionally, building on MbedTLS's focus on embedded use, this crate can be | ||
used in a no_std environment. | ||
|
||
## Change of status | ||
|
||
We discovered that `mbedtls 3.X` is not thread safe and will not work properly with multiple threads. | ||
And the new PSA approach does not match our needs. So we now decided to stay on mbedtls `2.28.X`; and the state of this repertory is changed to maintenance. We will not accept any more feature requests. | ||
|
||
Old code of `mbedtls 3.X` on `master` branch has been moved to branch `mbedtls-3`. | ||
|
||
Related issue: [#320](https://github.com/fortanix/rust-mbedtls/issues/320) | ||
|
||
Reference links: | ||
|
||
- Design changes: | ||
- https://lists.trustedfirmware.org/archives/list/[email protected]/message/RJ7YPNBNWUNW2ICQJ72H2JMKPDKGQOLT/ | ||
- Bugs | ||
- https://github.com/fortanix/rust-mbedtls/issues/301 | ||
- https://github.com/fortanix/rust-mbedtls/issues/293 | ||
- https://github.com/Mbed-TLS/mbedtls/issues/3263 | ||
|
||
## Building | ||
|
||
This crate depends on the mbedtls-sys-auto crate, see below for build details. | ||
|
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