-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
29 lines (26 loc) · 945 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[package]
name = "tdx-quote"
description = "Parses and verifies Intel TDX quotes"
version = "0.0.3"
edition = "2021"
authors = ['Entropy Cryptography <engineering@entropy.xyz>']
license = 'AGPL-3.0-or-later'
repository = 'https://github.com/entropyxyz/tdx-quote'
[dependencies]
nom = { version = "7.1.3", default-features = false }
p256 = { version = "0.13.2", default-features = false, features = [
"ecdsa",
"alloc",
] }
sha2 = { version = "0.10.8", default-features = false }
x509-verify = { version = "0.4.6", features = ["x509"], optional = true }
spki = { version = "0.7.3", optional = true }
pem = { version = "3.0.4", default-features = false, optional = true }
[dev-dependencies]
rand_core = { version = "0.6.4", features = ["getrandom"] }
[features]
default = ["pck"]
# Generate mock quotes for testing attestation code on non-TDX hardware
mock = []
# Parse and verify PCK certificate chains
pck = ["x509-verify", "spki", "pem"]