diff --git a/Cargo.lock b/Cargo.lock index fdcaa4ebff2..1059b2ede53 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -533,7 +533,7 @@ checksum = "c8492de420e9e60bc9a1d66e2dbb91825390b738a388606600663fc529b4b307" dependencies = [ "byteorder", "digest", - "rand_core", + "rand_core 0.5.1", "subtle", "zeroize 1.2.0", ] @@ -585,7 +585,7 @@ checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ "curve25519-dalek", "ed25519", - "rand", + "rand 0.7.3", "serde", "sha2", "zeroize 1.2.0", @@ -802,6 +802,17 @@ dependencies = [ "wasi 0.9.0+wasi-snapshot-preview1", ] +[[package]] +name = "getrandom" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4060f4657be78b8e766215b02b18a2e862d83745545de804638e2b545e81aee6" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "wasi 0.10.0+wasi-snapshot-preview1", +] + [[package]] name = "ghash" version = "0.3.0" @@ -1212,7 +1223,7 @@ dependencies = [ "base64", "lazy_static", "oasis-core-runtime", - "rand", + "rand 0.7.3", "rustc-hex", "serde", "serde_bytes", @@ -1245,7 +1256,7 @@ dependencies = [ "oasis-core-keymanager-api-common", "oasis-core-keymanager-client", "oasis-core-runtime", - "rand", + "rand 0.7.3", "sgx-isa", "sp800-185", "tiny-keccak 2.0.2", @@ -1279,7 +1290,7 @@ dependencies = [ "num-traits", "pem", "percent-encoding", - "rand", + "rand 0.7.3", "rustc-hex", "serde", "serde_bytes", @@ -1401,7 +1412,7 @@ dependencies = [ "cfg-if 0.1.10", "cloudabi", "libc", - "redox_syscall", + "redox_syscall 0.1.57", "rustc_version", "smallvec", "winapi 0.3.9", @@ -1578,11 +1589,23 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ - "getrandom", + "getrandom 0.1.14", + "libc", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc 0.2.0", +] + +[[package]] +name = "rand" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c24fcd450d3fa2b592732565aa4f17a27a61c65ece4726353e000939b0edee34" +dependencies = [ "libc", - "rand_chacha", - "rand_core", - "rand_hc", + "rand_chacha 0.3.0", + "rand_core 0.6.1", + "rand_hc 0.3.0", ] [[package]] @@ -1592,7 +1615,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" dependencies = [ "ppv-lite86", - "rand_core", + "rand_core 0.5.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.1", ] [[package]] @@ -1601,7 +1634,16 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" dependencies = [ - "getrandom", + "getrandom 0.1.14", +] + +[[package]] +name = "rand_core" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c026d7df8b298d90ccbbc5190bd04d85e159eaf5576caeacf8741da93ccbd2e5" +dependencies = [ + "getrandom 0.2.1", ] [[package]] @@ -1610,7 +1652,16 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" dependencies = [ - "rand_core", + "rand_core 0.5.1", +] + +[[package]] +name = "rand_hc" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3190ef7066a446f2e7f42e239d161e905420ccab01eb967c9eb27d21b2322a73" +dependencies = [ + "rand_core 0.6.1", ] [[package]] @@ -1619,6 +1670,15 @@ version = "0.1.57" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce" +[[package]] +name = "redox_syscall" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05ec8ca9416c5ea37062b502703cd7fcb207736bc294f6e0cf367ac6fc234570" +dependencies = [ + "bitflags", +] + [[package]] name = "regex" version = "1.3.9" @@ -1686,7 +1746,7 @@ checksum = "27b95bc9f4c062eac8d29d7852571015a34ba888d192536c19bb3759e6fc6e26" dependencies = [ "backtrace", "crossbeam-channel 0.5.0", - "rand", + "rand 0.7.3", "trackable", ] @@ -1699,7 +1759,7 @@ dependencies = [ "crossbeam-channel 0.5.0", "hostname", "percent-encoding", - "rand", + "rand 0.7.3", "rustracing", "thrift_codec", "trackable", @@ -1907,7 +1967,7 @@ dependencies = [ "io-context", "oasis-core-client", "oasis-core-runtime", - "rand", + "rand 0.7.3", "serde_bytes", "simple-keyvalue-api", "tokio 0.1.22", @@ -1923,7 +1983,7 @@ dependencies = [ "oasis-core-client", "oasis-core-keymanager-client", "oasis-core-runtime", - "rand", + "rand 0.7.3", "simple-keyvalue-api", "tokio 0.1.22", ] @@ -1937,7 +1997,7 @@ dependencies = [ "io-context", "oasis-core-client", "oasis-core-runtime", - "rand", + "rand 0.7.3", "simple-keyvalue-api", "tokio 0.1.22", ] @@ -2006,8 +2066,8 @@ dependencies = [ "aes-gcm", "blake2", "chacha20poly1305", - "rand", - "rand_core", + "rand 0.7.3", + "rand_core 0.5.1", "ring", "rustc_version", "sha2", @@ -2023,7 +2083,7 @@ checksum = "03088793f677dce356f3ccc2edb1b314ad191ab702a5de3faf49304f7e104918" dependencies = [ "cfg-if 0.1.10", "libc", - "redox_syscall", + "redox_syscall 0.1.57", "winapi 0.3.9", ] @@ -2101,14 +2161,14 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.1.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" +checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "libc", - "rand", - "redox_syscall", + "rand 0.8.1", + "redox_syscall 0.2.4", "remove_dir_all", "winapi 0.3.9", ] @@ -2121,7 +2181,7 @@ dependencies = [ "grpcio", "oasis-core-client", "oasis-core-runtime", - "rand", + "rand 0.7.3", "simple-keyvalue-api", "tokio 0.1.22", ] @@ -2659,7 +2719,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bc614d95359fd7afc321b66d2107ede58b246b844cf5d8a0adcca413e439f088" dependencies = [ "curve25519-dalek", - "rand_core", + "rand_core 0.5.1", "zeroize 1.2.0", ] diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 593b3fe20b9..0d389ba6ab3 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -53,7 +53,7 @@ bech32 = "0.7.2" [dev-dependencies] # For storage interoperability tests only. grpcio = "0.4.6" -tempfile = "3.0.7" +tempfile = "3.2.0" [[bin]] name = "fuzz-mkvs-proof"