@super-protocol/addons-tee 0.8.11 → 0.8.12-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@super-protocol/addons-tee",
3
- "version": "0.8.11",
3
+ "version": "0.8.12-beta.10",
4
4
  "description": "The TEE trusted loader addons",
5
5
  "tags": [
6
6
  "tee"
@@ -2,7 +2,7 @@
2
2
  set -e
3
3
  SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
4
4
 
5
- GSC_FIXED_COMMIT="v1.4"
5
+ GSC_FIXED_COMMIT="v1.6"
6
6
  BASE_IMAGE_NAME="node16-sgx-tests"
7
7
 
8
8
  docker rmi gsc-${BASE_IMAGE_NAME} -f
@@ -15,9 +15,7 @@ rm -f enclave-key.pem
15
15
  openssl genrsa -3 -out enclave-key.pem 3072
16
16
 
17
17
  rm -rf ./gsc
18
- git clone https://github.com/gramineproject/gsc && cd gsc && git reset --hard "${GSC_FIXED_COMMIT}" && git config user.email "super@user.com" && git config user.name "SuperUser" && git cherry-pick 4bf7976
19
- curl https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key -o ./keys/intel-sgx-deb.key
20
- sed -i 's/\(gramine-sgx \/gramine\/app_files\/entrypoint\)/exec \1/g; s/\(gramine-direct \/gramine\/app_files\/entrypoint\)/exec \1/g' ./templates/apploader.common.template
18
+ git clone https://github.com/gramineproject/gsc && cd gsc && git reset --hard "${GSC_FIXED_COMMIT}"
21
19
 
22
20
  ./gsc build ${BASE_IMAGE_NAME} ../node16-base.manifest -c ../gsc-config.yaml
23
21
  ./gsc sign-image ${BASE_IMAGE_NAME} ../enclave-key.pem -c ../gsc-config.yaml
@@ -5,7 +5,7 @@ Distro: "ubuntu:20.04"
5
5
  # below; typically, you want to keep the default values though
6
6
  Gramine:
7
7
  Repository: "https://github.com/Super-Protocol/sp-gramine.git"
8
- Branch: "v1.4-sp"
8
+ Branch: "v1.6.1-sp"
9
9
 
10
10
  # Specify the Intel SGX driver installed on your machine (more specifically, on the machine where
11
11
  # the graminized Docker container will run); there are several variants of the SGX driver: