Skip to content

Commit bbd2358

Browse files
committed
Use the new abstraction on the PKCS11 interface
Signed-off-by: Hugues de Valon <[email protected]>
1 parent 576f819 commit bbd2358

File tree

16 files changed

+377
-1171
lines changed

16 files changed

+377
-1171
lines changed

Cargo.lock

Lines changed: 61 additions & 87 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ name = "parsec"
1818
path = "src/bin/main.rs"
1919

2020
[dependencies]
21-
parsec-interface = "0.23.0"
21+
parsec-interface = "0.24.0"
2222
rand = { version = "0.8.3", features = ["small_rng"], optional = true }
2323
base64 = "0.13.0"
2424
uuid = "0.8.2"
@@ -29,7 +29,7 @@ toml = "0.5.8"
2929
serde = { version = "1.0.123", features = ["derive"] }
3030
env_logger = "0.8.3"
3131
log = { version = "0.4.14", features = ["serde"] }
32-
pkcs11 = { version = "0.5.0", optional = true }
32+
cryptoki = { version = "0.1.0", optional = true, features = ["psa-crypto-conversions"] }
3333
picky-asn1-der = { version = "0.2.4", optional = true }
3434
picky-asn1 = { version = "0.3.1", optional = true }
3535
tss-esapi = { version = "4.0.10-alpha.2", optional = true }
@@ -38,7 +38,7 @@ structopt = "0.3.21"
3838
derivative = "2.2.0"
3939
version = "3.0.0"
4040
hex = { version = "0.4.2", optional = true }
41-
psa-crypto = { version = "0.7.0", default-features = false, features = ["operations"], optional = true }
41+
psa-crypto = { version = "0.8.0", default-features = false, features = ["operations"], optional = true }
4242
zeroize = { version = "1.2.0", features = ["zeroize_derive"] }
4343
picky-asn1-x509 = { version = "0.4.0", optional = true }
4444
users = "0.11.0"
@@ -62,7 +62,7 @@ default = ["unix-peer-credentials-authenticator"]
6262

6363
# Providers
6464
mbed-crypto-provider = ["psa-crypto"]
65-
pkcs11-provider = ["pkcs11", "picky-asn1-der", "picky-asn1", "picky-asn1-x509", "psa-crypto", "rand"]
65+
pkcs11-provider = ["cryptoki", "picky-asn1-der", "picky-asn1", "picky-asn1-x509", "psa-crypto", "rand"]
6666
tpm-provider = ["tss-esapi", "picky-asn1-der", "picky-asn1", "picky-asn1-x509", "hex"]
6767
cryptoauthlib-provider = ["rust-cryptoauthlib"]
6868
trusted-service-provider = ["mbed-crypto-provider", "bindgen", "prost-build", "prost"]

0 commit comments

Comments
 (0)