Remove SPID from gramine calls (#246)

This commit is contained in:
Shoaib Ahmed 2024-10-09 17:33:01 +04:00 committed by GitHub
parent ec28041ad7
commit 51f3ca7025
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 5 deletions

View file

@ -192,7 +192,6 @@ async fn gramine_manifest(
host.architecture, host.operating_system, host.environment
);
let ra_client_spid = "51CAF5A48B450D624AEFE3286D314894";
let home_dir = dirs::home_dir()
.ok_or_else(|| eyre!("Home directory not set"))?
.display()
@ -203,7 +202,6 @@ async fn gramine_manifest(
.arg(format!("-Dhome={}", home_dir))
.arg(format!("-Darch_libdir={}", arch_libdir))
.arg("-Dra_type=dcap")
.arg(format!("-Dra_client_spid={}", ra_client_spid))
.arg("-Dra_client_linkable=1")
.arg(format!("-Dchain_id={}", chain_id))
.arg(format!("-Dquartz_dir={}", quartz_dir.display()))

View file

@ -12,7 +12,6 @@ gramine-manifest \
-Dhome=${HOME} \
-Darch_libdir="/lib/$(gcc -dumpmachine)" \
-Dra_type="dcap" \
-Dra_client_spid="51CAF5A48B450D624AEFE3286D314894" \
-Dra_client_linkable=1 \
-Dquartz_dir="$(pwd)" \
quartz.manifest.template quartz.manifest

View file

@ -55,7 +55,6 @@ RUN gramine-sgx-gen-private-key > /dev/null 2>&1 && \
-Denclave_executable="/opt/enclave/bin/enclave" \
-Darch_libdir="/lib/$(gcc -dumpmachine)" \
-Dra_type="epid" \
-Dra_client_spid="51CAF5A48B450D624AEFE3286D314894" \
-Dra_client_linkable=1 \
-Dtrusted_height="${TRUSTED_HEIGHT}" \
-Dtrusted_hash="${TRUSTED_HASH}" \

View file

@ -50,7 +50,6 @@ sgx.max_threads = 16
sgx.edmm_enable = {{ 'true' if env.get('EDMM', '0') == '1' else 'false' }}
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.trusted_files = [