Skip to content

Add aws-lc-rs as optional rustls backend - #3883

Merged
sfleen merged 1 commit into
mainfrom
sfleen/fips-arm
Apr 28, 2025
Merged

sfleen merged 1 commit into
mainfrom
sfleen/fips-arm

Conversation

@sfleen

@sfleen sfleen commented Apr 24, 2025

Copy link
Copy Markdown
Contributor

This has a few benefits. Primarily this gives us a reasonable path to creating FIPS-enabled builds on architectures other than x86-64, as well as a path away from using BoringSSL as a backend.

Additionally, rustls has been using the aws-lc-rs library as the default backend for a little while now, so this gives us the opportunity to stay in line with the most widely used option in the ecosystem.

@sfleen
sfleen requested a review from a team as a code owner April 24, 2025 15:42
@cratelyn

Copy link
Copy Markdown
Contributor

it looks like ci is not passing on this branch, due to cargo-deny.

@cratelyn cratelyn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐶 💬

Comment thread linkerd/meshtls/Cargo.toml Outdated
Comment thread linkerd/meshtls/rustls/src/backend.rs
Comment thread linkerd/meshtls/rustls/src/creds.rs
cratelyn
cratelyn previously approved these changes Apr 25, 2025

@cratelyn cratelyn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks good, besides the need to satiate cargo deny.

@cratelyn
cratelyn dismissed their stale review April 25, 2025 16:20

ci not passing.

This has a few benefits. Primarily this gives us a reasonable path to creating FIPS-enabled builds on architectures other than x86-64, as well as a path away from using BoringSSL as a backend.

Additionally, rustls has been using the aws-lc-rs library as the default backend for a little while now, so this gives us the opportunity to stay in line with the most widely used option in the ecosystem.

Signed-off-by: Scott Fleener <[email protected]>
@sfleen

sfleen commented Apr 25, 2025

Copy link
Copy Markdown
Contributor Author

cargo deny should be sorted out now, wanted to make sure there were no more structural changes i had to make first.

Comment thread linkerd2-proxy/Cargo.toml

@cratelyn cratelyn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks great!

@sfleen
sfleen merged commit 577a67b into main Apr 28, 2025
@sfleen
sfleen deleted the sfleen/fips-arm branch April 28, 2025 12:38
cratelyn added a commit that referenced this pull request Jan 21, 2026
rustls/rustls#2827 introduced additional
algorithms to the list of supported signatures in our cryptography
provider.

this commit adds these to the `SUPPORTED_SIG_ALGS`, introduced in
#3883, which is effectively a local copy of this
internal static variable.

Signed-off-by: katelyn martin <[email protected]>
cratelyn added a commit that referenced this pull request Jan 22, 2026
* chore: update rustls from 0.23.35 to 0.23.36

Signed-off-by: katelyn martin <[email protected]>

* chore: add P256+SHA512 and P384+SHA512 signatures

rustls/rustls#2827 introduced additional
algorithms to the list of supported signatures in our cryptography
provider.

this commit adds these to the `SUPPORTED_SIG_ALGS`, introduced in
#3883, which is effectively a local copy of this
internal static variable.

Signed-off-by: katelyn martin <[email protected]>

* chore: update rustls-webpki from 0.103.8 to 0.103.9

Signed-off-by: katelyn martin <[email protected]>

* chore: update rustls-pki-types from 0.13.1 to 0.14.0

Signed-off-by: katelyn martin <[email protected]>

---------

Signed-off-by: katelyn martin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants