Remove SPID from gramine calls (#246)
This commit is contained in:
parent
ec28041ad7
commit
51f3ca7025
4 changed files with 0 additions and 5 deletions
|
@ -192,7 +192,6 @@ async fn gramine_manifest(
|
||||||
host.architecture, host.operating_system, host.environment
|
host.architecture, host.operating_system, host.environment
|
||||||
);
|
);
|
||||||
|
|
||||||
let ra_client_spid = "51CAF5A48B450D624AEFE3286D314894";
|
|
||||||
let home_dir = dirs::home_dir()
|
let home_dir = dirs::home_dir()
|
||||||
.ok_or_else(|| eyre!("Home directory not set"))?
|
.ok_or_else(|| eyre!("Home directory not set"))?
|
||||||
.display()
|
.display()
|
||||||
|
@ -203,7 +202,6 @@ async fn gramine_manifest(
|
||||||
.arg(format!("-Dhome={}", home_dir))
|
.arg(format!("-Dhome={}", home_dir))
|
||||||
.arg(format!("-Darch_libdir={}", arch_libdir))
|
.arg(format!("-Darch_libdir={}", arch_libdir))
|
||||||
.arg("-Dra_type=dcap")
|
.arg("-Dra_type=dcap")
|
||||||
.arg(format!("-Dra_client_spid={}", ra_client_spid))
|
|
||||||
.arg("-Dra_client_linkable=1")
|
.arg("-Dra_client_linkable=1")
|
||||||
.arg(format!("-Dchain_id={}", chain_id))
|
.arg(format!("-Dchain_id={}", chain_id))
|
||||||
.arg(format!("-Dquartz_dir={}", quartz_dir.display()))
|
.arg(format!("-Dquartz_dir={}", quartz_dir.display()))
|
||||||
|
|
|
@ -12,7 +12,6 @@ gramine-manifest \
|
||||||
-Dhome=${HOME} \
|
-Dhome=${HOME} \
|
||||||
-Darch_libdir="/lib/$(gcc -dumpmachine)" \
|
-Darch_libdir="/lib/$(gcc -dumpmachine)" \
|
||||||
-Dra_type="dcap" \
|
-Dra_type="dcap" \
|
||||||
-Dra_client_spid="51CAF5A48B450D624AEFE3286D314894" \
|
|
||||||
-Dra_client_linkable=1 \
|
-Dra_client_linkable=1 \
|
||||||
-Dquartz_dir="$(pwd)" \
|
-Dquartz_dir="$(pwd)" \
|
||||||
quartz.manifest.template quartz.manifest
|
quartz.manifest.template quartz.manifest
|
||||||
|
|
|
@ -55,7 +55,6 @@ RUN gramine-sgx-gen-private-key > /dev/null 2>&1 && \
|
||||||
-Denclave_executable="/opt/enclave/bin/enclave" \
|
-Denclave_executable="/opt/enclave/bin/enclave" \
|
||||||
-Darch_libdir="/lib/$(gcc -dumpmachine)" \
|
-Darch_libdir="/lib/$(gcc -dumpmachine)" \
|
||||||
-Dra_type="epid" \
|
-Dra_type="epid" \
|
||||||
-Dra_client_spid="51CAF5A48B450D624AEFE3286D314894" \
|
|
||||||
-Dra_client_linkable=1 \
|
-Dra_client_linkable=1 \
|
||||||
-Dtrusted_height="${TRUSTED_HEIGHT}" \
|
-Dtrusted_height="${TRUSTED_HEIGHT}" \
|
||||||
-Dtrusted_hash="${TRUSTED_HASH}" \
|
-Dtrusted_hash="${TRUSTED_HASH}" \
|
||||||
|
|
|
@ -50,7 +50,6 @@ sgx.max_threads = 16
|
||||||
sgx.edmm_enable = {{ 'true' if env.get('EDMM', '0') == '1' else 'false' }}
|
sgx.edmm_enable = {{ 'true' if env.get('EDMM', '0') == '1' else 'false' }}
|
||||||
|
|
||||||
sgx.remote_attestation = "{{ ra_type }}"
|
sgx.remote_attestation = "{{ ra_type }}"
|
||||||
sgx.ra_client_spid = "{{ ra_client_spid }}"
|
|
||||||
sgx.ra_client_linkable = {{ 'true' if ra_client_linkable == '1' else 'false' }}
|
sgx.ra_client_linkable = {{ 'true' if ra_client_linkable == '1' else 'false' }}
|
||||||
|
|
||||||
sgx.trusted_files = [
|
sgx.trusted_files = [
|
||||||
|
|
Loading…
Reference in a new issue