@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/bindings/sgx-native/build/Release/libmbedcrypto_gramine.so.15 +0 -0
- package/bindings/sgx-native/build/Release/libmbedx509_gramine.so.6 +0 -0
- package/bindings/sgx-native/build/Release/libsgx_dcap_quoteverify.so.1 +0 -0
- package/bindings/sgx-native/build/Release/sgx_native.node +0 -0
- package/package.json +1 -1
- package/test_sgx_env/build-and-run-tests.sh +2 -4
- package/test_sgx_env/gsc-config.yaml +1 -1
- package/bindings/sgx-native/build/Release/libcjson.so.1 +0 -0
- package/bindings/sgx-native/build/Release/libmbedcrypto_gramine.so.13 +0 -0
- package/bindings/sgx-native/build/Release/libmbedx509_gramine.so.4 +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
set -e
|
|
3
3
|
SCRIPT_DIR="$( cd "$( dirname "$0" )" && pwd )"
|
|
4
4
|
|
|
5
|
-
GSC_FIXED_COMMIT="v1.
|
|
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}"
|
|
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.
|
|
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:
|
|
Binary file
|
|
Binary file
|
|
Binary file
|