Taking cipher-paratime.sgxs as an example, when built on different machines, the sha256sum will vary, although the derivation path (e.g.: /nix/store/8sp3hk8szax7x5jwjniw7b0yhkghsp50-cipher-paratime-2.0.1-alpha1) may be identical.
For instance, for the latest build, at the time of this writing, the following hashes are obtained.
cipher-paratime.sgxs
This involves running cargo elf2sgxs on the cipher-paratime binary, built with cargo build --release --target=x86_64-fortanix-unknown-sgx.
env
OS
sha256sum cipher-paratime.sgxs
store path hash (/nix/store/<hash>-cipher-paratime-2.0.1-alpha1)
Taking
cipher-paratime.sgxs
as an example, when built on different machines, thesha256sum
will vary, although the derivation path (e.g.:/nix/store/8sp3hk8szax7x5jwjniw7b0yhkghsp50-cipher-paratime-2.0.1-alpha1
) may be identical.For instance, for the latest build, at the time of this writing, the following hashes are obtained.
cipher-paratime.sgxs
This involves running
cargo elf2sgxs
on thecipher-paratime
binary, built withcargo build --release --target=x86_64-fortanix-unknown-sgx
.sha256sum cipher-paratime.sgxs
/nix/store/<hash>-cipher-paratime-2.0.1-alpha1
)f7ff2296f5182cb287a30cab7c41a8a2ab75e72847300b9131f1507e37826322
8sp3hk8szax7x5jwjniw7b0yhkghsp50
0e3acd4d0d81397ba887e73b67db1087360698d943e29de3b4e7a58d10a27409
8sp3hk8szax7x5jwjniw7b0yhkghsp50
e0ba5841dfbe191e4b218074ff2fa318bc4684179642cf549ca6a685c3c89887
8sp3hk8szax7x5jwjniw7b0yhkghsp50
nixpkgs/nix-unstable
2c9d849377c478b63b9f363d824f434190d05c2eb3091c94871e948c73a12e26
8sp3hk8szax7x5jwjniw7b0yhkghsp50
nixpkgs/nix-flakes
2c9d849377c478b63b9f363d824f434190d05c2eb3091c94871e948c73a12e26
8sp3hk8szax7x5jwjniw7b0yhkghsp50
cipher-paratime
(no sgx support)Built with
cargo build --release
.sha256sum cipher-paratime.sgxs
/nix/store/<hash>-cipher-paratime-2.0.1-alpha1
)8f34b28f395943544b1d511a4494dc9ac295b1b4d1b91aec679375363c2f1675
pgk96j8mwcpxnf8ws2asvmycpcwi5zq7
c75ee6a2ac333ac5b3b73184f8da42399d3d700644e7f3dbfb7f6ee53a0915e6
pgk96j8mwcpxnf8ws2asvmycpcwi5zq7
0aeaf94d8090988eecd7d747693bfd9d1950c3033530350b65d9d365cea7c682
pgk96j8mwcpxnf8ws2asvmycpcwi5zq7
6e7f332b7726db2d721467fa5743cda30168602b8075a539821701b085d8fb42
pgk96j8mwcpxnf8ws2asvmycpcwi5zq7
6e7f332b7726db2d721467fa5743cda30168602b8075a539821701b085d8fb42
pgk96j8mwcpxnf8ws2asvmycpcwi5zq7
It's important to note that the sha256 values obtained are consistent, meaning that for the same environment (machine), they do not vary.