-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate snp and tdx crates (#39)
Since Azure TDX CVMs are in public preview now, this PR consolidates both crates. There is shared logic, which has been organized into a `az-cvm-vtpm` crate that is imported by both `az-snp-vtpm` and `az-tdx-vtpm`. This constitutes a breaking change in the API, hence the version bump to 0.4 for all crates. Signed-off-by: Magnus Kulke <[email protected]>
- Loading branch information
Showing
30 changed files
with
516 additions
and
522 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,50 @@ | ||
[package] | ||
name = "az-cvm-vtpm" | ||
version = "0.4.0" | ||
edition = "2021" | ||
repository = "https://github.com/kinvolk/azure-cvm-tooling/" | ||
license = "MIT" | ||
keywords = ["azure", "tpm", "sev-snp", "tdx"] | ||
categories = ["cryptography", "virtualization"] | ||
description = "Package with shared code for Azure Confidential VMs" | ||
|
||
[workspace] | ||
members = [ | ||
"az-snp-vtpm", | ||
"az-tdx-vtpm", | ||
"az-snp-vtpm/example", | ||
"az-snp-vtpm/example", | ||
] | ||
resolver = "2" | ||
|
||
[lib] | ||
path = "src/lib.rs" | ||
|
||
[dependencies] | ||
bincode.workspace = true | ||
jsonwebkey = { version = "0.3.5", features = ["pkcs-convert"] } | ||
memoffset = "0.9.0" | ||
openssl = { workspace = true, optional = true } | ||
rsa = { version = "0.8.2", features = ["pkcs5", "sha2"] } | ||
serde.workspace = true | ||
serde_json.workspace = true | ||
serde-big-array = "0.5.1" | ||
sev.workspace = true | ||
sha2 = "0.10.8" | ||
thiserror.workspace = true | ||
tss-esapi = "7.4" | ||
zerocopy.workspace = true | ||
|
||
[features] | ||
default = ["attester", "verifier"] | ||
attester = [] | ||
verifier = ["openssl", "sev/openssl"] | ||
|
||
[workspace.dependencies] | ||
bincode = "1.3.1" | ||
clap = { version = "4", features = ["derive"] } | ||
openssl = "0.10" | ||
serde = { version = "1.0.189", features = ["derive"] } | ||
serde_json = "1.0.107" | ||
thiserror = "1.0.38" | ||
sev = "1.2.0" | ||
ureq = { version = "2.6.2", default-features = false, features = ["json"] } | ||
zerocopy = { version = "0.7.26", features = ["derive"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.