[Examples] Use SGX_SIGNER_KEY in Makefiles

The documentation currently specifies SGX_SIGNER_KEY as the parameter to
enable Graphene to find your keys.

Some examples don't use this environment parameter, this commit fixes
that.
This commit is contained in:
Emil Hemdal
2020-05-07 00:21:18 +02:00
committed by Michał Kowalczyk
parent 244a559c48
commit 22b35e0cb2
6 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ NODEJS_DIR ?= /usr/bin/
# Relative path to Graphene root and key for enclave signing
GRAPHENEDIR ?= ../..
GRAPHENEKEY ?= $(GRAPHENEDIR)/Pal/src/host/Linux-SGX/signer/enclave-key.pem
SGX_SIGNER_KEY ?= $(GRAPHENEDIR)/Pal/src/host/Linux-SGX/signer/enclave-key.pem
ifeq ($(DEBUG),1)
GRAPHENEDEBUG = inline
@@ -64,7 +64,7 @@ nodejs.manifest: nodejs.manifest.template nodejs-trusted-libs
nodejs.manifest.sgx: nodejs.manifest
$(GRAPHENEDIR)/Pal/src/host/Linux-SGX/signer/pal-sgx-sign \
-libpal $(GRAPHENEDIR)/Runtime/libpal-Linux-SGX.so \
-key $(GRAPHENEKEY) \
-key $(SGX_SIGNER_KEY) \
-manifest $< -output $@
nodejs.sig: nodejs.manifest.sgx