mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-03 20:31:40 +00:00
[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:
committed by
Michał Kowalczyk
parent
244a559c48
commit
22b35e0cb2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user