Skip to content

Commit 5defaf9

Browse files
committed
dice-cert-check: Get const-oid, pem-rfc7468 & x509-cert from crates.io
1 parent 70d38dc commit 5defaf9

File tree

6 files changed

+54
-136
lines changed

6 files changed

+54
-136
lines changed

Cargo.lock

+33-106
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ env_logger = { version = "0.10", default-features = false }
2020
hex = { version = "0.4", default-features = false }
2121
hubpack = "0.1"
2222
log = { version = "0.4", features = ["std"] }
23-
p384 = { version = "0.12.0", default-features = false }
23+
p384 = { version = "0.13", default-features = false }
2424
pem = { version = "1", default-features = false }
25+
pem-rfc7468 = { version = "0.7.0", default-features = false }
2526
ring-compat = { version = "0.6", default-features = false }
2627
ron = "0.8"
2728
rpassword = "7.2.0"

dice-cert-check/Cargo.toml

+3-10
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,16 @@ name = "dice-cert-check"
33
version = "0.1.0"
44
edition = "2021"
55

6-
# NOTE: We're currently using crates from the main development branch of the
7-
# rust crypto formats git repo. We do this because:
8-
# - const-oid doesn't have the OIDs from RFC 8410 in a release yet
9-
# - the latest x509-cert release has a bug that prevents us from consuming
10-
# PEM encoded certs. This has been fixed on the development branch but
11-
# hasn't made it into a release yet.
126
[dependencies]
137
anyhow = { workspace = true, default-features = true }
148
clap = { workspace = true, default-features = true, features = ["derive"] }
15-
const-oid = { git = "https://github.com/RustCrypto/formats" }
9+
const-oid = { version = "0.9.4", features = ["db"] }
1610
env_logger = { workspace = true, default-features = true }
17-
ecdsa = { workspace = true, default-features = true }
1811
hex = { workspace = true, default-features = true }
1912
log = { workspace = true, default-features = true, features = ["std"] }
2013
p384 = { workspace = true, default-features = true }
21-
pem-rfc7468 = { git = "https://github.com/RustCrypto/formats" }
14+
pem-rfc7468 = { workspace = true, default-features = true }
2215
ring-compat = { workspace = true, default-features = true, features = ["std"] }
2316
sha2 = { workspace = true, default-features = true }
2417
thiserror = { workspace = true, default-features = true }
25-
x509-cert = { git = "https://github.com/RustCrypto/formats", features = ["pem", "std"] }
18+
x509-cert = { workspace = true, default-features = true, features = ["pem"] }

0 commit comments

Comments
 (0)