forked from Mbed-TLS/mbedtls
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Mbed-TLS#6498 from yuhaoth/pr/fix-session-resumpti…
…on-fail-when-hostname-is-not-localhost
- Loading branch information
Showing
60 changed files
with
2,072 additions
and
323 deletions.
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 |
---|---|---|
@@ -1,40 +1,19 @@ | ||
Notes: | ||
* Pull requests cannot be accepted until the PR follows the [contributing guidelines](../CONTRIBUTING.md). In particular, each commit must have at least one `Signed-off-by:` line from the committer to certify that the contribution is made under the terms of the [Developer Certificate of Origin](../dco.txt). | ||
* This is just a template, so feel free to use/remove the unnecessary things | ||
## Description | ||
A few sentences describing the overall goals of the pull request's commits. | ||
|
||
Please write a few sentences describing the overall goals of the pull request's commits. | ||
|
||
## Status | ||
**READY/IN DEVELOPMENT/HOLD** | ||
|
||
## Requires Backporting | ||
When there is a bug fix, it should be backported to all maintained and supported branches. | ||
Changes do not have to be backported if: | ||
- This PR is a new feature\enhancement | ||
- This PR contains changes in the API. If this is true, and there is a need for the fix to be backported, the fix should be handled differently in the legacy branch | ||
|
||
Yes | NO | ||
Which branch? | ||
## Gatekeeper checklist | ||
|
||
## Requires ChangeLog entry | ||
- [ ] **changelog** provided, or not required | ||
- [ ] **backport** done, or not required | ||
- [ ] **tests** provided, or not required | ||
|
||
YES | NO - if no, why not? | ||
|
||
## Migrations | ||
If there is any API change, what's the incentive and logic for it. | ||
|
||
YES | NO | ||
## Notes for the submitter | ||
|
||
## Additional comments | ||
Any additional information that could be of interest | ||
Please refer to the [contributing guidelines](../CONTRIBUTING.md), especially the | ||
checklist for PR contributors. | ||
|
||
## Todos | ||
- [ ] Tests | ||
- [ ] Documentation | ||
- [ ] Changelog updated | ||
- [ ] Backported | ||
|
||
|
||
## Steps to test or reproduce | ||
Outline the steps to test or reproduce the PR here. |
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
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Features | ||
* cert_write: support for setting extended key usage attributes. A | ||
corresponding new public API call has been added in the library, | ||
mbedtls_x509write_crt_set_ext_key_usage(). | ||
* cert_write: support for writing certificate files in either PEM | ||
or DER format. |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Bugfix | ||
* Fix ECDSA verification, where it was not always validating the | ||
public key. This bug meant that it was possible to verify a | ||
signature with an invalid public key, in some cases. Reported by | ||
Guido Vranken using Cryptofuzz in #4420. |
4 changes: 4 additions & 0 deletions
4
ChangeLog.d/fix_tls13_session_resumption_fail_when_hostname_is_not_localhost.txt
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Bugfix | ||
* Fix TLS 1.3 session resumption fail. Fixes #6488. | ||
* Add configuration check to exclude TLS 1.3 optional authentication of | ||
client. |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Bugfix | ||
* Fix possible crash in TLS PRF code, if a failure to allocate memory occurs. | ||
Reported by Michael Madsen in #6516. |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Features | ||
* Brought in PSA code geneneration JSON driver list. | ||
Added auto generated templating support for key management. | ||
Added Support for transparent and opaque keys (import/export/copy). | ||
Included some general JSON validation for the given entry points. | ||
Addresses version 1.1 of #5137. |
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ and [@hannestschofenig](https://github.com/hannestschofenig). | |
In the following, we describe the features that are currently under development. | ||
The main Mbed TLS documentation is available via [ReadTheDocs](https://mbed-tls.readthedocs.io/). | ||
|
||
Documentation for the PSA Cryptography API is available [on GitHub](https://armmbed.github.io/mbed-crypto/psa/#application-programming-interface). | ||
Documentation for the PSA Cryptography API is available [on GitHub](https://arm-software.github.io/psa-api/crypto/). | ||
|
||
## TLS 1.3 | ||
|
||
|
@@ -276,11 +276,11 @@ Mbed TLS is mostly written in portable C99; however, it has a few platform requi | |
PSA cryptography API | ||
-------------------- | ||
|
||
### PSA API design | ||
### PSA API | ||
|
||
Arm's [Platform Security Architecture (PSA)](https://developer.arm.com/architectures/security-architectures/platform-security-architecture) is a holistic set of threat models, security analyses, hardware and firmware architecture specifications, and an open source firmware reference implementation. PSA provides a recipe, based on industry best practice, that allows security to be consistently designed in, at both a hardware and firmware level. | ||
|
||
The [PSA cryptography API](https://armmbed.github.io/mbed-crypto/psa/#application-programming-interface) provides access to a set of cryptographic primitives. It has a dual purpose. First, it can be used in a PSA-compliant platform to build services, such as secure boot, secure storage and secure communication. Second, it can also be used independently of other PSA components on any platform. | ||
The [PSA cryptography API](https://arm-software.github.io/psa-api/crypto/) provides access to a set of cryptographic primitives. It has a dual purpose. First, it can be used in a PSA-compliant platform to build services, such as secure boot, secure storage and secure communication. Second, it can also be used independently of other PSA components on any platform. | ||
|
||
The design goals of the PSA cryptography API include: | ||
|
||
|
@@ -292,10 +292,6 @@ The design goals of the PSA cryptography API include: | |
|
||
Arm welcomes feedback on the design of the API. If you think something could be improved, please open an issue on our Github repository. Alternatively, if you prefer to provide your feedback privately, please email us at [`[email protected]`](mailto:[email protected]). All feedback received by email is treated confidentially. | ||
|
||
### PSA API documentation | ||
|
||
A browsable copy of the PSA Cryptography API documents is available on the [PSA cryptography interfaces documentation portal](https://armmbed.github.io/mbed-crypto/psa/#application-programming-interface) in [PDF](https://armmbed.github.io/mbed-crypto/PSA_Cryptography_API_Specification.pdf) and [HTML](https://armmbed.github.io/mbed-crypto/html/index.html) formats. | ||
|
||
### PSA implementation in Mbed TLS | ||
|
||
Mbed TLS includes a reference implementation of the PSA Cryptography API. | ||
|
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
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
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
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
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
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
Oops, something went wrong.