@super-protocol/addons-tee 0.8.10 → 0.8.11
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/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
- 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/Dockerfile +2 -2
- package/test_sgx_env/build-and-run-tests.sh +4 -2
- package/bindings/sgx-native/build/Release/libmbedcrypto_gramine.so.15 +0 -0
- package/bindings/sgx-native/build/Release/libmbedx509_gramine.so.6 +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/test_sgx_env/Dockerfile
CHANGED
|
@@ -3,8 +3,8 @@ FROM node:16-buster-slim
|
|
|
3
3
|
RUN apt update && apt install -y libcurl4 libcjson1 curl gnupg2 && rm -rf /var/lib/apt/lists/*
|
|
4
4
|
RUN curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add - \
|
|
5
5
|
&& echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main' >> /etc/apt/sources.list.d/intel-sgx.list \
|
|
6
|
-
&& apt-get update \
|
|
7
|
-
&& apt install libsgx-dcap-default-qpl libsgx-urts
|
|
6
|
+
&& apt-get update \
|
|
7
|
+
&& apt install libsgx-dcap-default-qpl libsgx-urts -y
|
|
8
8
|
|
|
9
9
|
COPY ./sgx_default_qcnl.conf /etc/sgx_default_qcnl.conf
|
|
10
10
|
|
|
@@ -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.4"
|
|
6
6
|
BASE_IMAGE_NAME="node16-sgx-tests"
|
|
7
7
|
|
|
8
8
|
docker rmi gsc-${BASE_IMAGE_NAME} -f
|
|
@@ -15,7 +15,9 @@ 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}"
|
|
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
|
|
19
21
|
|
|
20
22
|
./gsc build ${BASE_IMAGE_NAME} ../node16-base.manifest -c ../gsc-config.yaml
|
|
21
23
|
./gsc sign-image ${BASE_IMAGE_NAME} ../enclave-key.pem -c ../gsc-config.yaml
|
|
Binary file
|
|
Binary file
|