Skip to content

Commit

Permalink
Merge pull request #301 from hug-dev/use-pkcs11
Browse files Browse the repository at this point in the history
Use the new abstraction on the PKCS11 interface
  • Loading branch information
hug-dev authored Mar 22, 2021
2 parents 576f819 + 62c6f65 commit 60101f8
Show file tree
Hide file tree
Showing 16 changed files with 377 additions and 1,172 deletions.
148 changes: 61 additions & 87 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name = "parsec"
path = "src/bin/main.rs"

[dependencies]
parsec-interface = "0.23.0"
parsec-interface = "0.24.0"
rand = { version = "0.8.3", features = ["small_rng"], optional = true }
base64 = "0.13.0"
uuid = "0.8.2"
Expand All @@ -29,7 +29,7 @@ toml = "0.5.8"
serde = { version = "1.0.123", features = ["derive"] }
env_logger = "0.8.3"
log = { version = "0.4.14", features = ["serde"] }
pkcs11 = { version = "0.5.0", optional = true }
cryptoki = { version = "0.1.0", optional = true, features = ["psa-crypto-conversions"] }
picky-asn1-der = { version = "0.2.4", optional = true }
picky-asn1 = { version = "0.3.1", optional = true }
tss-esapi = { version = "4.0.10-alpha.2", optional = true }
Expand All @@ -38,7 +38,7 @@ structopt = "0.3.21"
derivative = "2.2.0"
version = "3.0.0"
hex = { version = "0.4.2", optional = true }
psa-crypto = { version = "0.7.0", default-features = false, features = ["operations"], optional = true }
psa-crypto = { version = "0.8.0", default-features = false, features = ["operations"], optional = true }
zeroize = { version = "1.2.0", features = ["zeroize_derive"] }
picky-asn1-x509 = { version = "0.4.0", optional = true }
users = "0.11.0"
Expand All @@ -62,7 +62,7 @@ default = ["unix-peer-credentials-authenticator"]

# Providers
mbed-crypto-provider = ["psa-crypto"]
pkcs11-provider = ["pkcs11", "picky-asn1-der", "picky-asn1", "picky-asn1-x509", "psa-crypto", "rand"]
pkcs11-provider = ["cryptoki", "picky-asn1-der", "picky-asn1", "picky-asn1-x509", "psa-crypto", "rand"]
tpm-provider = ["tss-esapi", "picky-asn1-der", "picky-asn1", "picky-asn1-x509", "hex"]
cryptoauthlib-provider = ["rust-cryptoauthlib"]
trusted-service-provider = ["mbed-crypto-provider", "bindgen", "prost-build", "prost"]
Expand Down
Loading

0 comments on commit 60101f8

Please sign in to comment.