Skip to content

Commit

Permalink
dice-cert-check: Get const-oid, pem-rfc7468 & x509-cert from crates.io
Browse files Browse the repository at this point in the history
  • Loading branch information
flihp committed Aug 3, 2023
1 parent b4260fe commit 45081d6
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 136 deletions.
139 changes: 33 additions & 106 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ env_logger = { version = "0.10", default-features = false }
hex = { version = "0.4", default-features = false }
hubpack = "0.1"
log = { version = "0.4", features = ["std"] }
p384 = { version = "0.12.0", default-features = false }
p384 = { version = "0.13", default-features = false }
pem = { version = "1", default-features = false }
pem-rfc7468 = { version = "0.7.0", default-features = false }
ring-compat = { version = "0.6", default-features = false }
ron = "0.8"
rpassword = "7.2.0"
Expand Down
13 changes: 3 additions & 10 deletions dice-cert-check/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,16 @@ name = "dice-cert-check"
version = "0.1.0"
edition = "2021"

# NOTE: We're currently using crates from the main development branch of the
# rust crypto formats git repo. We do this because:
# - const-oid doesn't have the OIDs from RFC 8410 in a release yet
# - the latest x509-cert release has a bug that prevents us from consuming
# PEM encoded certs. This has been fixed on the development branch but
# hasn't made it into a release yet.
[dependencies]
anyhow = { workspace = true, default-features = true }
clap = { workspace = true, default-features = true, features = ["derive"] }
const-oid = { git = "https://github.com/RustCrypto/formats" }
const-oid = { version = "0.9.4", features = ["db"] }
env_logger = { workspace = true, default-features = true }
ecdsa = { workspace = true, default-features = true }
hex = { workspace = true, default-features = true }
log = { workspace = true, default-features = true, features = ["std"] }
p384 = { workspace = true, default-features = true }
pem-rfc7468 = { git = "https://github.com/RustCrypto/formats" }
pem-rfc7468 = { workspace = true, default-features = true }
ring-compat = { workspace = true, default-features = true, features = ["std"] }
sha2 = { workspace = true, default-features = true }
thiserror = { workspace = true, default-features = true }
x509-cert = { git = "https://github.com/RustCrypto/formats", features = ["pem", "std"] }
x509-cert = { workspace = true, default-features = true, features = ["pem"] }
Loading

0 comments on commit 45081d6

Please sign in to comment.