Skip to content

Commit 7e75fdc

Browse files
authored
Bump rustls,hyper-rustls - for #1181 (#1182)
* Bump pem,rustls,hyper-rustls - for #1181 Leftover dependabot PRs that needed to go together. Signed-off-by: clux <[email protected]> * Fix deny for rustls webpki license Signed-off-by: clux <[email protected]> * skip windows tree in deny we don't need to be as strict with versions on this platform Signed-off-by: clux <[email protected]> * fix moved import Signed-off-by: clux <[email protected]> * downgrade pem, for now Signed-off-by: clux <[email protected]> --------- Signed-off-by: clux <[email protected]>
1 parent b1cd5f2 commit 7e75fdc

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

deny.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ license-files = [
6969
{ path = "LICENSE", hash = 0x001c7e6c },
7070
]
7171

72+
# rustls' webpki fork uses same license https://github.com/rustls/webpki
73+
[[licenses.clarify]]
74+
name = "rustls-webpki"
75+
expression = "LicenseRef-webpki"
76+
license-files = [
77+
{ path = "LICENSE", hash = 0x001c7e6c },
78+
]
79+
7280
[sources]
7381
unknown-registry = "deny"
7482
unknown-git = "deny"
@@ -103,3 +111,8 @@ name = "base64"
103111
[[bans.skip]]
104112
# deep in dependency tree, only dual use via dev dependency
105113
name = "redox_syscall"
114+
115+
[[bans.skip-tree]]
116+
name = "windows-sys"
117+
[[bans.skip-tree]]
118+
name = "windows"

kube-client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ thiserror = "1.0.29"
4949
futures = { version = "0.3.17", optional = true }
5050
pem = { version = "1.1.0", optional = true }
5151
openssl = { version = "0.10.36", optional = true }
52-
rustls = { version = "0.20.3", features = ["dangerous_configuration"], optional = true }
52+
rustls = { version = "0.21.0", features = ["dangerous_configuration"], optional = true }
5353
rustls-pemfile = { version = "1.0.0", optional = true }
5454
bytes = { version = "1.1.0", optional = true }
5555
tokio = { version = "1.14.0", features = ["time", "signal", "sync"], optional = true }
5656
kube-core = { path = "../kube-core", version = "=0.80.0" }
5757
jsonpath_lib = { version = "0.3.0", optional = true }
5858
tokio-util = { version = "0.7.0", optional = true, features = ["io", "codec"] }
5959
hyper = { version = "0.14.13", optional = true, features = ["client", "http1", "stream", "tcp"] }
60-
hyper-rustls = { version = "0.23.2", optional = true }
60+
hyper-rustls = { version = "0.24.0", optional = true }
6161
tokio-tungstenite = { version = "0.18.0", optional = true }
6262
tower = { version = "0.4.6", optional = true, features = ["buffer", "filter", "util"] }
6363
tower-http = { version = "0.4.0", optional = true, features = ["auth", "map-response-body", "trace"] }

kube-client/src/client/tls.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ pub mod rustls_tls {
44
use rustls::{
55
self,
66
client::{HandshakeSignatureValid, ServerCertVerified, ServerCertVerifier},
7-
internal::msgs::handshake::DigitallySignedStruct,
8-
Certificate, ClientConfig, PrivateKey,
7+
Certificate, ClientConfig, DigitallySignedStruct, PrivateKey,
98
};
109
use thiserror::Error;
1110

0 commit comments

Comments
 (0)