Skip to content

Commit 7c6882b

Browse files
build(deps): bump rcgen from 0.13.2 to 0.14.2 (#4000)
* build(deps): bump rcgen from 0.13.2 to 0.14.2 Bumps [rcgen](https://github.com/rustls/rcgen) from 0.13.2 to 0.14.2. - [Release notes](https://github.com/rustls/rcgen/releases) - [Commits](rustls/rcgen@v0.13.2...v0.14.2) --- updated-dependencies: - dependency-name: rcgen dependency-version: 0.14.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix(test): Fix breaking changes from rcgen 0.14 Signed-off-by: Scott Fleener <scott@buoyant.io> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Scott Fleener <scott@buoyant.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Scott Fleener <scott@buoyant.io>
1 parent a6e47d7 commit 7c6882b

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
14501450
checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
14511451
dependencies = [
14521452
"cfg-if",
1453-
"windows-targets 0.48.5",
1453+
"windows-targets 0.52.6",
14541454
]
14551455

14561456
[[package]]
@@ -3606,9 +3606,9 @@ checksum = "f60fcc7d6849342eff22c4350c8b9a989ee8ceabc4b481253e8946b9fe83d684"
36063606

36073607
[[package]]
36083608
name = "rcgen"
3609-
version = "0.13.2"
3609+
version = "0.14.2"
36103610
source = "registry+https://github.com/rust-lang/crates.io-index"
3611-
checksum = "75e669e5202259b5314d1ea5397316ad400819437857b90861765f24c4cf80a2"
3611+
checksum = "49bc8ffa8a832eb1d7c8000337f8b0d2f4f2f5ec3cf4ddc26f125e3ad2451824"
36123612
dependencies = [
36133613
"pem",
36143614
"ring",

linkerd/meshtls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ linkerd-tls = { path = "../tls" }
3232
[dev-dependencies]
3333
tokio = { version = "1", features = ["macros", "net", "rt-multi-thread"] }
3434
tracing = { workspace = true }
35-
rcgen = "0.13.2"
35+
rcgen = "0.14.2"
3636

3737
linkerd-conditional = { path = "../conditional" }
3838
linkerd-proxy-transport = { path = "../proxy/transport" }

linkerd/meshtls/tests/util.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use linkerd_stack::{
1818
};
1919
use linkerd_tls as tls;
2020
use linkerd_tls_test_util as test_util;
21-
use rcgen::{BasicConstraints, CertificateParams, IsCa, KeyPair, SanType};
21+
use rcgen::{BasicConstraints, CertificateParams, IsCa, Issuer, KeyPair, SanType};
2222
use std::str::FromStr;
2323
use std::{
2424
net::SocketAddr,
@@ -40,8 +40,9 @@ fn generate_cert_with_name(subject_alt_names: Vec<SanType>) -> (Vec<u8>, Vec<u8>
4040
let issuer_key = KeyPair::generate().unwrap();
4141
let mut params = CertificateParams::default();
4242
params.subject_alt_names = subject_alt_names;
43+
let issuer = Issuer::from_params(&params, &root_key);
4344
let cert = params
44-
.signed_by(&issuer_key, &root_cert, &root_key)
45+
.signed_by(&issuer_key, &issuer)
4546
.expect("should generate cert");
4647

4748
(

linkerd/meshtls/verifier/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ linkerd-identity = { path = "../../identity" }
1515

1616

1717
[dev-dependencies]
18-
rcgen = "0.13.2"
18+
rcgen = "0.14.2"

linkerd/proxy/spire-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ asn1 = { version = "0.6", package = "simple_asn1" }
2424
thiserror = "2"
2525

2626
[dev-dependencies]
27-
rcgen = "0.13.2"
27+
rcgen = "0.14.2"
2828
tokio-test = "0.4"

0 commit comments

Comments
 (0)