Skip to content

Commit 995e549

Browse files
committed
chore(tls): Switch to aws-lc-rs by default
This changes the default crypto backend from ring to aws-lc-rs. Eventually we can remove ring entirely from the dependency tree, but for now this simply changes the default. Signed-off-by: Scott Fleener <[email protected]>
1 parent 168c4bf commit 995e549

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

linkerd/meshtls/rustls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2018"
77
publish = { workspace = true }
88

99
[features]
10-
default = ["ring"]
10+
default = ["aws-lc"]
1111
ring = ["tokio-rustls/ring", "rustls-webpki/ring"]
1212
aws-lc = ["tokio-rustls/aws-lc-rs", "rustls-webpki/aws-lc-rs"]
1313
aws-lc-fips = ["aws-lc", "tokio-rustls/fips"]

linkerd/proxy/transport/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ futures = { version = "0.3", default-features = false }
1414
linkerd-error = { path = "../../error" }
1515
linkerd-io = { path = "../../io" }
1616
linkerd-stack = { path = "../../stack" }
17-
socket2 = "0.5"
17+
socket2 = { version = "0.5", features = ["all"] }
1818
thiserror = "2"
1919
tokio = { version = "1", features = ["macros", "net"] }
2020
tokio-stream = { version = "0.1", features = ["net"] }

linkerd2-proxy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = { workspace = true }
88
description = "The main proxy executable"
99

1010
[features]
11-
default = ["meshtls-rustls-ring"]
11+
default = ["meshtls-rustls-aws-lc"]
1212
meshtls-boring = ["linkerd-meshtls/boring"]
1313
meshtls-boring-fips = ["linkerd-meshtls/boring-fips"]
1414
meshtls-rustls-aws-lc = ["linkerd-meshtls/rustls-aws-lc"]

0 commit comments

Comments
 (0)