Skip to content

Commit 8e9ed53

Browse files
committed
Linux 2.26 Open Source Gold Release
Intel® Software Guard Extensions (Intel® SGX) for Linux OS includes the following changes in version 2.26: - Upgraded to OpenSSL 3.1.6. - Removed support for the MbedTLS Trusted Library. - Added support for Red Hat Enterprise Linux Server 9.4 (for x86_64) and SUSE Linux Enterprise Server 15.6 64-bits. - Added support for the FIPS 140-3 Certifiable OpenSSL Provider as an experimental feature. - Bug fixes. Signed-off-by: Gotowalski, Bartosz <[email protected]>
1 parent 7385e10 commit 8e9ed53

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1518
-1605
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
[submodule "external/sgx-emm/emm_src"]
2121
path = external/sgx-emm/emm_src
2222
url = https://github.com/intel/sgx-emm.git
23-
[submodule "external/mbedtls/mbedtls_code"]
24-
path = external/mbedtls/mbedtls_code
25-
url = https://github.com/Mbed-TLS/mbedtls.git
2623
[submodule "external/cbor/libcbor"]
2724
path = external/cbor/libcbor
2825
url = https://github.com/PJK/libcbor.git

Makefile

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ preparation:
5858
cd external/protobuf/protobuf_code && git apply ../sgx_protobuf.patch >/dev/null 2>&1 || git apply ../sgx_protobuf.patch --check -R
5959
cd external/protobuf/protobuf_code && git submodule update --init --recursive && cd third_party/abseil-cpp && git apply ../../../sgx_abseil.patch>/dev/null 2>&1 || git apply ../../../sgx_abseil.patch --check -R
6060
./external/sgx-emm/create_symlink.sh
61-
cd external/mbedtls/mbedtls_code && git apply ../sgx_mbedtls.patch >/dev/null 2>&1 || git apply ../sgx_mbedtls.patch --check -R
6261
cd external/cbor && cp -r libcbor sgx_libcbor
6362
cd external/cbor/libcbor && git apply ../raw_cbor.patch >/dev/null 2>&1 || git apply ../raw_cbor.patch --check -R
6463
cd external/cbor/sgx_libcbor && git apply ../sgx_cbor.patch >/dev/null 2>&1 || git apply ../sgx_cbor.patch --check -R
@@ -248,6 +247,11 @@ deb_libsgx_dcap_default_qpl:
248247
$(MAKE) -C external/dcap_source/QuoteGeneration deb_sgx_dcap_default_qpl_pkg
249248
$(CP) external/dcap_source/QuoteGeneration/installer/linux/deb/libsgx-dcap-default-qpl/libsgx-dcap-default-qpl*deb ./linux/installer/deb/sgx-aesm-service/
250249

250+
.PHONY: deb_libsgx_dcap_pccs
251+
deb_libsgx_dcap_pccs:
252+
$(MAKE) -C external/dcap_source/QuoteGeneration deb_sgx_dcap_pccs_pkg
253+
$(CP) external/dcap_source/QuoteGeneration/installer/linux/deb/sgx-dcap-pccs/sgx-dcap-pccs*deb ./linux/installer/deb/sgx-aesm-service/
254+
251255
.PHONY: deb_libsgx_dcap_ql
252256
deb_libsgx_dcap_ql: deb_libsgx_pce_logic
253257
$(MAKE) -C external/dcap_source/QuoteGeneration deb_sgx_dcap_ql_pkg
@@ -296,6 +300,7 @@ deb_psw_pkg: deb_libsgx_headers_pkg \
296300
deb_libsgx_ae_qe3 \
297301
deb_libsgx_ae_id_enclave \
298302
deb_libsgx_dcap_default_qpl \
303+
deb_libsgx_dcap_pccs \
299304
deb_libsgx_dcap_ql \
300305
deb_libsgx_ae_qve \
301306
deb_sgx_dcap_quote_verify \
@@ -421,6 +426,11 @@ rpm_libsgx_dcap_default_qpl:
421426
$(MAKE) -C external/dcap_source/QuoteGeneration rpm_sgx_dcap_default_qpl_pkg
422427
$(CP) external/dcap_source/QuoteGeneration/installer/linux/rpm/libsgx-dcap-default-qpl/libsgx-dcap-default-qpl*.rpm ./linux/installer/rpm/sgx-aesm-service/
423428

429+
.PHONY: rpm_libsgx_dcap_pccs
430+
rpm_libsgx_dcap_pccs:
431+
$(MAKE) -C external/dcap_source/QuoteGeneration rpm_sgx_dcap_pccs_pkg
432+
$(CP) external/dcap_source/QuoteGeneration/installer/linux/rpm/sgx-dcap-pccs/sgx-dcap-pccs*.rpm ./linux/installer/rpm/sgx-aesm-service/
433+
424434
.PHONY: rpm_libsgx_dcap_ql
425435
rpm_libsgx_dcap_ql:
426436
$(MAKE) -C external/dcap_source/QuoteGeneration rpm_sgx_dcap_ql_pkg
@@ -469,6 +479,7 @@ rpm_psw_pkg: rpm_libsgx_headers_pkg \
469479
rpm_libsgx_ae_qe3 \
470480
rpm_libsgx_ae_id_enclave \
471481
rpm_libsgx_dcap_default_qpl \
482+
rpm_libsgx_dcap_pccs \
472483
rpm_libsgx_dcap_ql \
473484
rpm_libsgx_ae_qve \
474485
rpm_sgx_dcap_quote_verify \
@@ -491,6 +502,8 @@ clean:
491502
@$(RM) -r $(ROOT_DIR)/build
492503
@$(RM) -r linux/installer/bin/install-sgx-*.bin*.withLicense
493504
@$(RM) -r linux/installer/bin/sgx_linux*.bin
505+
@$(RM) -f ./linux/installer/deb/sgx-aesm-service/sgx-dcap-pccs*deb
506+
@$(RM) -f ./linux/installer/rpm/sgx-aesm-service/sgx-dcap-pccs*rpm
494507
./linux/installer/deb/sgx-aesm-service/clean.sh
495508
./linux/installer/deb/libsgx-epid/clean.sh
496509
./linux/installer/deb/libsgx-launch/clean.sh
@@ -531,6 +544,7 @@ ifeq ("$(shell test -f external/dcap_source/QuoteVerification/Makefile && echo M
531544
./external/dcap_source/QuoteGeneration/installer/linux/deb/libsgx-pce-logic/clean.sh
532545
./external/dcap_source/QuoteGeneration/installer/linux/deb/libsgx-qe3-logic/clean.sh
533546
./external/dcap_source/QuoteGeneration/installer/linux/deb/libsgx-dcap-quote-verify/clean.sh
547+
./external/dcap_source/QuoteGeneration/installer/linux/deb/sgx-dcap-pccs/clean.sh
534548
./external/dcap_source/QuoteGeneration/installer/linux/deb/tee-appraisal-tool/clean.sh
535549
./external/dcap_source/QuoteGeneration/installer/linux/rpm/libsgx-ae-qve/clean.sh
536550
./external/dcap_source/QuoteGeneration/installer/linux/rpm/libsgx-ae-qe3/clean.sh
@@ -544,6 +558,7 @@ ifeq ("$(shell test -f external/dcap_source/QuoteVerification/Makefile && echo M
544558
./external/dcap_source/QuoteGeneration/installer/linux/rpm/libsgx-pce-logic/clean.sh
545559
./external/dcap_source/QuoteGeneration/installer/linux/rpm/libsgx-qe3-logic/clean.sh
546560
./external/dcap_source/QuoteGeneration/installer/linux/rpm/libsgx-dcap-quote-verify/clean.sh
561+
./external/dcap_source/QuoteGeneration/installer/linux/rpm/sgx-dcap-pccs/clean.sh
547562
./external/dcap_source/QuoteGeneration/installer/linux/rpm/tee-appraisal-tool/clean.sh
548563
endif
549564

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@ Build the Intel(R) SGX SDK and Intel(R) SGX PSW Package
9898
* SUSE Linux Enterprise Server 15.4 64bits
9999
* Anolis OS 8.6 64bits
100100
* Debian 10 64bits
101+
* Debian 12 64bits
101102

102103
- Use the following command(s) to install the required tools to build the Intel(R) SGX SDK:
103-
* On Debian 10:
104+
* On Debian 10 and Debian 12:
104105
```
105106
$ sudo apt-get install build-essential ocaml ocamlbuild automake autoconf libtool wget python3 libssl-dev git cmake perl
106107
$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
@@ -140,7 +141,7 @@ Build the Intel(R) SGX SDK and Intel(R) SGX PSW Package
140141
**Note**: To build Intel(R) SGX SDK, gcc version is required to be 7.3 or above and glibc version is required to be 2.27 or above.
141142
- Use the following command to install additional required tools and latest Intel(R) SGX SDK Installer to build the Intel(R) SGX PSW:
142143
1) To install the additional required tools:
143-
* On Debian 10:
144+
* On Debian 10 and Debian 12:
144145
```
145146
$ sudo apt-get install libssl-dev libcurl4-openssl-dev protobuf-compiler libprotobuf-dev debhelper cmake reprepro unzip pkgconf libboost-dev libboost-system-dev libboost-thread-dev lsb-release libsystemd0
146147
```
@@ -256,7 +257,7 @@ You can find the tools and libraries generated in the `build/linux` directory.
256257
$ make
257258
```
258259
- To build the Intel(R) SGX PSW installer, enter the following command:
259-
* On Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04 and Debian 10:
260+
* On Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04, Debian 10 and Debian 12:
260261
```
261262
$ make deb_psw_pkg
262263
```
@@ -305,6 +306,10 @@ You can find the tools and libraries generated in the `build/linux` directory.
305306
```
306307
deb [trusted=yes arch=amd64] file:/PATH_TO_LOCAL_REPO buster main
307308
```
309+
* On Debian 12:
310+
```
311+
deb [trusted=yes arch=amd64] file:/PATH_TO_LOCAL_REPO bookworm main
312+
```
308313
After that, you need to update the apt:
309314
```
310315
$ sudo apt update
@@ -351,8 +356,9 @@ Install the Intel(R) SGX SDK
351356
* SUSE Linux Enterprise Server 15.4 64bits
352357
* Anolis OS 8.6 64bits
353358
* Debian 10 64bits
359+
* Debian 12 64bits
354360
- Use the following command to install the required tool to use Intel(R) SGX SDK:
355-
* On Debian 10:
361+
* On Debian 10 and Debian 12:
356362
```
357363
$ sudo apt-get install build-essential python3
358364
$ sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1
@@ -442,12 +448,13 @@ Install the Intel(R) SGX PSW
442448
* SUSE Linux Enterprise Server 15.4 64bits
443449
* Anolis OS 8.6 64bits
444450
* Debian 10 64bits
451+
* Debian 12 64bits
445452
- Ensure that you have a system with the following required hardware:
446453
* 6th Generation Intel(R) Core(TM) Processor or newer
447454
- Configure the system with the **Intel SGX hardware enabled** option and install Intel(R) SGX driver in advance.
448455
See the earlier topic, *Build and Install the Intel(R) SGX Driver*, for information on how to install the Intel(R) SGX driver.
449456
- Install the library using the following command:
450-
* On Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04 and Debian 10:
457+
* On Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04, Debian 10 and Debian 12:
451458
```
452459
$ sudo apt-get install libssl-dev libcurl4-openssl-dev libprotobuf-dev
453460
```
@@ -477,7 +484,7 @@ The SGX PSW provides 3 services: launch, EPID-based attestation, and algorithm a
477484
478485
#### Using the local repo(recommended)
479486
480-
| |Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04 and Debian 10|Red Hat Enterprise Linux 9.2, CentOS Stream 9, CentOS 8.3 and Anolis OS 8.6| SUSE Linux Enterprise Server 15|
487+
| |Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04, Debian 10 and Debian 12|Red Hat Enterprise Linux 9.2, CentOS Stream 9, CentOS 8.3 and Anolis OS 8.6| SUSE Linux Enterprise Server 15|
481488
| ------------ | ------------ | ------------ | ------------ |
482489
|launch service |apt-get install libsgx-launch libsgx-urts|yum install libsgx-launch libsgx-urts|zypper install libsgx-launch libsgx-urts|
483490
|EPID-based attestation service|apt-get install libsgx-epid libsgx-urts|yum install libsgx-epid libsgx-urts|zypper install libsgx-epid libsgx-urts|
@@ -498,7 +505,7 @@ apt-get dist-upgrade -o Dpkg::Options::="--force-overwrite"
498505
```
499506
#### Configure the installation
500507
Some packages are configured with recommended dependency on other packages that are not required for certain usage. For instance, the background daemon is not required for container usage. It will be installed by default, but you can drop it by using the additional option during the installation.
501-
* On Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04 and Debian 10:
508+
* On Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04, Debian 10 and Debian 12:
502509
```
503510
--no-install-recommends
504511
```

0 commit comments

Comments
 (0)