Skip to content

Commit d0ab71c

Browse files
authored
Merge pull request #569 from mythi/PR-2021-010
sgx: update SGX SDK/DCAP versions
2 parents 1a522bb + abfa349 commit d0ab71c

File tree

6 files changed

+12
-13
lines changed

6 files changed

+12
-13
lines changed

cmd/sgx_plugin/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ The component has the same basic dependancies as the
6464
[generic plugin framework dependencies](../../README.md#about).
6565

6666
The SGX device plugin requires Linux Kernel SGX drivers to be available. These drivers
67-
are currently available via [RFC patches on Linux Kernel Mailing List](https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-sgx.git).
68-
RFC *v41* was used to validate what is written in this document.
67+
are available in Linux 5.11.
6968

7069
The hardware platform must support SGX Flexible Launch Control.
7170

demo/sgx-sdk-demo/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ RUN apt-get update && \
2323
# SGX SDK is installed in /opt/intel directory.
2424
WORKDIR /opt/intel
2525

26-
ARG SGX_SDK_INSTALLER=sgx_linux_x64_sdk_2.12.100.3.bin
27-
ARG DCAP_VERSION=DCAP_1.9
26+
ARG SGX_SDK_INSTALLER=sgx_linux_x64_sdk_2.13.100.4.bin
27+
ARG DCAP_VERSION=DCAP_1.10
2828

2929
RUN echo "deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main" >> /etc/apt/sources.list.d/intel-sgx.list \
3030
&& wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add - \
@@ -35,7 +35,7 @@ RUN echo "deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bio
3535
libsgx-quote-ex-dev
3636

3737
# Install SGX SDK
38-
RUN wget https://download.01.org/intel-sgx/sgx-linux/2.12/distro/ubuntu18.04-server/$SGX_SDK_INSTALLER \
38+
RUN wget https://download.01.org/intel-sgx/sgx-linux/2.13/distro/ubuntu18.04-server/$SGX_SDK_INSTALLER \
3939
&& chmod +x $SGX_SDK_INSTALLER \
4040
&& echo "yes" | ./$SGX_SDK_INSTALLER \
4141
&& rm $SGX_SDK_INSTALLER

deployments/operator/samples/deviceplugin_v1_sgxdeviceplugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ spec:
99
provisionLimit: 110
1010
logLevel: 4
1111
nodeSelector:
12-
feature.node.kubernetes.io/sgx: 'true'
12+
feature.node.kubernetes.io/custom-intel.sgx: 'true'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
PCCS_URL=https://localhost:8081/sgx/certification/v2/
1+
PCCS_URL=https://localhost:8081/sgx/certification/v3/
22
USE_SECURE_CERT=FALSE
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
PCCS_URL=https://localhost:8081/sgx/certification/v2/
1+
PCCS_URL=https://localhost:8081/sgx/certification/v3/
22
USE_SECURE_CERT=FALSE
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
sources:
2-
cpu:
3-
cpuid:
4-
attributeWhitelist:
5-
- "SGX"
6-
- "SGXLC"
2+
custom:
3+
- name: "intel.sgx"
4+
matchOn:
5+
- kConfig: ["X86_SGX"]
6+
cpuId: ["SGX", "SGXLC"]

0 commit comments

Comments
 (0)