-
Notifications
You must be signed in to change notification settings - Fork 5.5k
tls: support for ECDSA P-384 and P-521 certificates #36369
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d1821b2
tls: support for ECDSA P-384 and P-521 certificates (#10855)
anitabyte 86a3119
Merge branch 'main' into p-384-plus
anitabyte eb0cdd0
Merge branch 'main' into p-384-plus
anitabyte 2c530a9
Use ECDSA capabilities of client to inform TlsContext choice
anitabyte 532ef31
Fixing some formatting errors
anitabyte 5700c23
Changes to use InlinedVector rather than Optional; integration tests
anitabyte 2d3f861
Removing errant cfg file
anitabyte 8a98626
Fixing what is considered to be a spelling mistake
anitabyte ecf850b
Namespacing fixes; removed unnecessary if; tidying
anitabyte e1e2929
Regeneration of certs to ensure same CA used as for others; fixed and…
anitabyte 4dfbd1e
Merge branch 'main' into p-384-plus
anitabyte c60ae72
Additional tests for coverage
anitabyte 6aeb56f
Spelling
anitabyte 957eda3
Merge branch 'main' into p-384-plus
anitabyte 6b4d2da
Further comment fixes; moving of function into appropriate namespace.
anitabyte f3f0feb
Removal of server_curves_ spec for all ECDSA tests in ssl_integration…
anitabyte df5e3e7
Removal of curve specification for TLSv1.3 client in tests
anitabyte a2f0d70
Update current.yaml changelog
anitabyte 9b0d181
Merge branch 'main' into p-384-plus
anitabyte 846cbce
Linted yaml
anitabyte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,19 @@ | ||
| -----BEGIN CERTIFICATE----- | ||
| MIIDHDCCAn2gAwIBAgIUfFEHcYA6qzTSMJKdKpDbr8j7lHgwCgYIKoZIzj0EAwIw | ||
| ejELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNh | ||
| biBGcmFuY2lzY28xDTALBgNVBAoMBEx5ZnQxGTAXBgNVBAsMEEx5ZnQgRW5naW5l | ||
| ZXJpbmcxFDASBgNVBAMMC1Rlc3QgU2VydmVyMB4XDTI0MDkyNzE3NDI1OFoXDTI2 | ||
| MDkyNzE3NDI1OFowejELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWEx | ||
| FjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBEx5ZnQxGTAXBgNVBAsM | ||
| EEx5ZnQgRW5naW5lZXJpbmcxFDASBgNVBAMMC1Rlc3QgU2VydmVyMIGbMBAGByqG | ||
| SM49AgEGBSuBBAAjA4GGAAQAWMQGu6Rr2C1Ydc015kP2EwOz/xLh7yikFk8edJyc | ||
| WA9WwyXPGWFtpYl4LAlFH/kIHDnOsYnM/DJngqF1fOb8sngB1dEL+93YRvINvjmG | ||
| iBQ9qHg+/kEJLW5NOx53Dc1a4oia3Ey7b2/Gkm8A+CzN2CLbMzLHTesfgSSIP7D7 | ||
| YNWlNAujgZ0wgZowDAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCBeAwHQYDVR0lBBYw | ||
| FAYIKwYBBQUHAwIGCCsGAQUFBwMBMB4GA1UdEQQXMBWCE3NlcnZlcjEuZXhhbXBs | ||
| ZS5jb20wHQYDVR0OBBYEFLwTH64c7Glg6D61fFVfM+DHhYq7MB8GA1UdIwQYMBaA | ||
| FLwTH64c7Glg6D61fFVfM+DHhYq7MAoGCCqGSM49BAMCA4GMADCBiAJCAfuwJBMT | ||
| L9CAMp2CVxgkmNk19Ku6idjQ59mXB/UOdpDU4SSvhlZBNgXZNHehe1syTa35clGr | ||
| OV8T5KE80Yui8C2ZAkIBooI1HiRQ+Vrzs5WyJ/F6pVLqT9iIw/p0mIhoCtfTUsi4 | ||
| RWQXJfm3OWqnYHhHba5riEQsUoTJV9bb4RdAUQrDlJc= | ||
| -----END CERTIFICATE----- |
14 changes: 14 additions & 0 deletions
14
test/common/tls/test_data/selfsigned_ecdsa_p521_cert_info.h
This file contains hidden or 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,14 @@ | ||
| #pragma once | ||
|
|
||
| // NOLINT(namespace-envoy) | ||
| // This file is auto-generated by certs.sh. | ||
| constexpr char TEST_SELFSIGNED_ECDSA_P521_CERT_256_HASH[] = | ||
| "d893db88874c259f607cdd819a0b12a4852898ae7f80f9cf67c0f244e67f5b0d"; | ||
| constexpr char TEST_SELFSIGNED_ECDSA_P521_CERT_1_HASH[] = | ||
| "6f60b7fa1ee64a9dcf90a34f851bd39281b653a0"; | ||
| constexpr char TEST_SELFSIGNED_ECDSA_P521_CERT_SPKI[] = | ||
| "WWdJYW4tEaF/LBVKVcQSNO1vwerCpB2p7dw6GPksFlE="; | ||
| constexpr char TEST_SELFSIGNED_ECDSA_P521_CERT_SERIAL[] = | ||
| "7c510771803aab34d230929d2a90dbafc8fb9478"; | ||
| constexpr char TEST_SELFSIGNED_ECDSA_P521_CERT_NOT_BEFORE[] = "Sep 27 17:42:58 2024 GMT"; | ||
| constexpr char TEST_SELFSIGNED_ECDSA_P521_CERT_NOT_AFTER[] = "Sep 27 17:42:58 2026 GMT"; |
This file contains hidden or 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,10 @@ | ||
| -----BEGIN EC PARAMETERS----- | ||
| BgUrgQQAIw== | ||
| -----END EC PARAMETERS----- | ||
| -----BEGIN EC PRIVATE KEY----- | ||
| MIHcAgEBBEIBvfR0YP6beGkBRT+6pwru4XdQYiVp6wHgYT4kVlmrJTk9QYRFtkLs | ||
| Tc+jEB6y7akyGuaAcwj1ZZe06YE4t8eyXCqgBwYFK4EEACOhgYkDgYYABABYxAa7 | ||
| pGvYLVh1zTXmQ/YTA7P/EuHvKKQWTx50nJxYD1bDJc8ZYW2liXgsCUUf+QgcOc6x | ||
| icz8MmeCoXV85vyyeAHV0Qv73dhG8g2+OYaIFD2oeD7+QQktbk07HncNzVriiJrc | ||
| TLtvb8aSbwD4LM3YItszMsdN6x+BJIg/sPtg1aU0Cw== | ||
| -----END EC PRIVATE KEY----- |
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.
Uh oh!
There was an error while loading. Please reload this page.