Skip to content

Commit

Permalink
sgx commercial key
Browse files Browse the repository at this point in the history
  • Loading branch information
kziemianek committed May 21, 2024
1 parent 12fd8f1 commit 046ac09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build_bitacross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:

- name: Build local builder
uses: docker/build-push-action@v5
env:
SGX_COMMERCIAL_KEY: "/opt/enclave_release/sgx_sign_key.pem"
with:
context: .
file: bitacross-worker/build.Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion bitacross-worker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ SGX_COMMON_CFLAGS += -fstack-protector
ifeq ($(SGX_PRODUCTION), 1)
SGX_ENCLAVE_MODE = "Production Mode"
SGX_ENCLAVE_CONFIG = "enclave-runtime/Enclave.config.production.xml"
SGX_SIGN_KEY = $(SGX_COMMERCIAL_KEY)
SGX_SIGN_KEY = "/opt/enclave_release/sgx_sign_key.pem"
SGX_SIGN_PASSFILE = $(SGX_PASSFILE)
WORKER_FEATURES := --features=link-binary,$(WORKER_MODE),$(WORKER_FEATURES),$(ADDITIONAL_FEATURES)
else
Expand Down

0 comments on commit 046ac09

Please sign in to comment.