Skip to content

Commit

Permalink
Fix reproducible enclave builds
Browse files Browse the repository at this point in the history
Previously the enclave builds would vary between build runs. This was
due to `HashSet` being used during a code generation step. Now the
enclave builds are reproducible.
  • Loading branch information
nick-mobilecoin committed Dec 11, 2023
1 parent fae6dca commit b27a987
Show file tree
Hide file tree
Showing 17 changed files with 101 additions and 101 deletions.
56 changes: 28 additions & 28 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ mc-watcher-api = { path = "../watcher/api" }
bs58 = "0.4.0"
crc = "3.0.0"
displaydoc = { version = "0.2", default-features = false }
mc-sgx-core-types = "0.10.0"
mc-sgx-dcap-types = "0.10.0"
mc-sgx-core-types = "0.10.1"
mc-sgx-dcap-types = "0.10.1"
protobuf = "2.27.1"

curve25519-dalek = { version = "4.1.1", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion attest/ake/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ der = "0.7.8"
digest = "0.10"
displaydoc = { version = "0.2", default-features = false }
mc-attestation-verifier = "0.4.2"
mc-sgx-dcap-types = "0.10.0"
mc-sgx-dcap-types = "0.10.1"
prost = { version = "0.12", default-features = false, features = ["prost-derive"] }
rand_core = "0.6"
serde = { version = "1.0", default-features = false, features = ["alloc"] }
Expand Down
4 changes: 2 additions & 2 deletions attest/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ mc-attest-enclave-api = { path = "../enclave-api" }
mc-attest-verifier-types = { path = "../verifier/types" }
mc-crypto-keys = { path = "../../crypto/keys" }
mc-crypto-noise = { path = "../../crypto/noise" }
mc-sgx-core-types = "0.10.0"
mc-sgx-dcap-types = "0.10.0"
mc-sgx-core-types = "0.10.1"
mc-sgx-dcap-types = "0.10.1"
mc-util-serial = { path = "../../util/serial" }

aead = "0.5"
Expand Down
4 changes: 2 additions & 2 deletions attest/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ std = [
mc-attest-verifier-types = { path = "../verifier/types" }
mc-common = { path = "../../common", default-features = false }
mc-crypto-digestible = { path = "../../crypto/digestible" }
mc-sgx-core-types = "0.10.0"
mc-sgx-dcap-types = "0.10.0"
mc-sgx-core-types = "0.10.1"
mc-sgx-dcap-types = "0.10.1"
mc-sgx-types = { path = "../../sgx/types" }
mc-util-encodings = { path = "../../util/encodings" }
mc-util-repr-bytes = { path = "../../util/repr-bytes", features = ["hex_fmt"] }
Expand Down
10 changes: 5 additions & 5 deletions attest/untrusted/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ mc-attest-verifier = { path = "../verifier", default-features = false }
mc-attest-verifier-types = { path = "../verifier/types", default-features = false }
mc-attestation-verifier = "0.4.2"
mc-rand = "1.1.0"
mc-sgx-core-types = "0.10.0"
mc-sgx-dcap-ql = "0.10.0"
mc-sgx-dcap-quoteverify = "0.10.0"
mc-sgx-dcap-sys-types = "0.10.0"
mc-sgx-dcap-types = "0.10.0"
mc-sgx-core-types = "0.10.1"
mc-sgx-dcap-ql = "0.10.1"
mc-sgx-dcap-quoteverify = "0.10.1"
mc-sgx-dcap-sys-types = "0.10.1"
mc-sgx-dcap-types = "0.10.1"
mc-sgx-types = { path = "../../sgx/types" }
p256 = { version = "0.13.0", default-features = false, features = ["ecdsa", "pem"] }
sha2 = { version = "0.10.8", default-features = false }
Expand Down
6 changes: 3 additions & 3 deletions attest/verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ sgx-sim = []
mc-attest-core = { path = "../core", default-features = false }
mc-attest-verifier-types = { path = "types", default-features = false }
mc-common = { path = "../../common", default-features = false }
mc-sgx-core-types = "0.10.0"
mc-sgx-core-types = "0.10.1"
mc-sgx-css = { path = "../../sgx/css", default-features = false }
mc-sgx-dcap-types = "0.10.0"
mc-sgx-dcap-types = "0.10.1"
mc-sgx-types = { path = "../../sgx/types", default-features = false }

cfg-if = "1.0"
Expand All @@ -48,7 +48,7 @@ p256 = { version = "0.13.0", default-features = false }
textwrap = "0.16"

[build-dependencies]
mc-sgx-core-sys-types = "0.10.0"
mc-sgx-core-sys-types = "0.10.1"
mc-util-build-script = { path = "../../util/build/script" }
mc-util-build-sgx = { path = "../../util/build/sgx" }

Expand Down
2 changes: 1 addition & 1 deletion attest/verifier/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ readme = "README.md"
displaydoc = { version = "0.2", default-features = false }
hex = { version = "0.4.3", default-features = false, features = ["alloc", "serde"] }
mc-attestation-verifier = "0.4.2"
mc-sgx-core-types = "0.10.0"
mc-sgx-core-types = "0.10.1"
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }

Expand Down
6 changes: 3 additions & 3 deletions attest/verifier/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ rust-version = { workspace = true }
[dependencies]
mc-crypto-digestible = { path = "../../../crypto/digestible" }
mc-crypto-keys = { path = "../../../crypto/keys" }
mc-sgx-core-types = "0.10.0"
mc-sgx-dcap-sys-types = { version = "0.10.0", default-features = false }
mc-sgx-dcap-types = { version = "0.10.0", default-features = false, features = ["alloc"] }
mc-sgx-core-types = "0.10.1"
mc-sgx-dcap-sys-types = { version = "0.10.1", default-features = false }
mc-sgx-dcap-types = { version = "0.10.1", default-features = false, features = ["alloc"] }
mc-util-encodings = { path = "../../../util/encodings" }
mc-util-serial = { path = "../../../util/serial" }

Expand Down
24 changes: 12 additions & 12 deletions consensus/enclave/trusted/Cargo.lock

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

Loading

0 comments on commit b27a987

Please sign in to comment.