Skip to content

Commit 53430e1

Browse files
authored
Switch ring to aws_lc_rs for crypto provider to be FIPS compliant (#166)
1 parent f90c59a commit 53430e1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ globset = "0.4.16"
8181
unicase = "2.8.1"
8282
google-drive3 = "6.0.0"
8383
hyper-util = "0.1.10"
84-
hyper-rustls = { version = "0.27.5", features = ["ring"] }
84+
hyper-rustls = { version = "0.27.5" }
8585
yup-oauth2 = "12.1.0"
86-
rustls = { version = "0.23.25", features = ["ring"] }
86+
rustls = { version = "0.23.25" }
8787
http-body-util = "0.1.3"

src/ops/sources/google_drive.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ impl Executor {
9393
hyper_util::client::legacy::Client::builder(hyper_util::rt::TokioExecutor::new())
9494
.build(
9595
hyper_rustls::HttpsConnectorBuilder::new()
96-
.with_provider_and_native_roots(rustls::crypto::ring::default_provider())?
96+
.with_provider_and_native_roots(
97+
rustls::crypto::aws_lc_rs::default_provider(),
98+
)?
9799
.https_only()
98100
.enable_http2()
99101
.build(),

0 commit comments

Comments
 (0)