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 e6d0bff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/build_bitacross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@ jobs:
ref: ${{ github.event.inputs.ref || github.sha }}
fetch-depth: 0

- name: List
run: |
ls -ltr /opt/enclave_release
- 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 e6d0bff

Please sign in to comment.