Skip to content

Intel® SGX SDK/PSW 2.31

Latest

Choose a tag to compare

@bgotowal bgotowal released this 02 Dec 20:31
e681833

Intel® Software Guard Extensions SDK (Intel® SGX SDK)

Note

Intel SGX SDK source code (including samples) as well as the Intel SGX enclave runtime libraries reside at intel/confidential-computing.sgx.sdk and are referenced as a submodule from intel/confidential-computing.sgx.

See Release Intel® SGX SDK 2.31 · intel/confidential-computing.sgx.sdk for its full release notes.


Intel® Software Guard Extensions Platform Software (Intel® SGX PSW)

  • Intel® SGX Architecture Enclave Service Manager (AESM)
    • sgx-aesm-service no longer ships its own private copy of the uRTS (liburts_internal.so). The package now depends on libsgx-urts of the same version and uses the system-provided uRTS instead. Packagers maintaining their own Intel SGX packaging must add the equivalent dependency to their sgx-aesm-service package.
    • sgx-aesm-service now requires libsgx-qe3-logic and libsgx-pce-logic 1.28 or later.
  • Packaging
    • Removed the (alternative) single .spec file RPM packaging targets (psw-dcap and psw-tdx spec templates and scripts, together with the supporting Makefile.psw_dcap and Makefile.psw_tdx), as announced in 2.30.1. The psw-dcap / psw-tdx install Makefiles (linux/installer/common/psw-{dcap,tdx}/Makefile) remain.
    • Aligned the layout produced by the psw-dcap / psw-tdx install Makefiles with the published RPM/DEB packages. The published packages are unchanged; packaging that post-processes the install tree by path may need to follow these moves:
      • The TDX quote-generation sample moved to /opt/intel/tdx-quote-generation-sample/.
      • The POE generator/evaluator tool configuration moved to /etc/opt/intel/poe-{gen,eval}-tool/.
      • The unversioned libsgx_tdx_logic.so and libtdx_attest.so links moved to the package each of them is shipped in.
      • tdx-qgs creates its /var/opt/qgsd state directory on install.
      • aesmd now uses the linksgx.sh shipped by the sgx-aesm-service package, which also adds aesmd to the sgx group when /dev/sgx_enclave is owned by that group.
      • The install manifests now also cover the PCCS service files and sgx_dcap_root_key_id.h.
  • Build
    • Untrusted binaries are now linked with -z ibt -z shstk (GCC 8 or later), which keeps the Intel® Control-flow Enforcement Technology (Intel® CET) note that some distributions' toolchains otherwise drop at link time.
    • The build no longer downloads the patched prebuilt GNU binutils toolset. CVE-2020-0551 mitigation builds use the system assembler, and make checks up front that it supports the required options, failing early with a diagnostic otherwise.
    • Improved GCC version detection for GCC 7 and later.
  • Other changes
    • Removed Debian* 10 support. Debian 10 reached end of life on June 30, 2024 💬 Debian announcement.
    • Security hardening and bug fixes.

📦  Download information

   (click to expand)

Downloads

Ubuntu* Debian* RHEL* CentOS*
Stream
SUSE* Anolis OS* Azure
Linux*
SDK installer - 22.04
- 24.04
- 26.04
- 12
- 13
- 9.6
- 9.8
- 10.0
- 10.2
- 9
- 10
- 15.7
- 16
- 8.10 - 3.0
Local repo
DEB/RPM packages
- 22.04
- 24.04
- 26.04
- 12
- 13
- 9.6
- 9.8
- 10.0
- 10.2
- 9
- 10
- 15.7
- 16
- 8.10 - 3.0

💡 TIP: Ubuntu* packages are also served from the live Intel® SGX APT repository at https://download.01.org/intel-sgx/sgx_repo/ubuntu.

Note

📢 ANNOUNCEMENT Upcoming changes planned for a future release

Repository layout change 💬 #1108

AESM codebase (/psw dir and supporting build/packaging infrastructure) will be 🚚 moved to a standalone GitHub repository.
The SGX repository will reference it via a Git submodule.

NOTE: This is a source-code layout change only. Binary deliverables, APIs and packaging are unaffected by this change — if you consume the released binaries or distribution packages, no action is required. If you build from source, clone recursively (--recurse-submodules) to pull the relocated sources.