Repository navigation
Intel® Software Guard Extensions SDK (Intel® SGX SDK)
- Intel® Software Guard Extensions SDK
- [BREAKING] Removed the OpenSSL/SGXSSL crypto build option (
USE_OPT_LIBS=0), deprecated in 2.30. The Intel® Cryptography Primitives Library (CPL) is now the onlysgx_tcryptobackend.- The default build, the
sgx_tcryptoAPI/ABI and thesgx_tcrypto.hheader are unchanged, so enclave sources need no edits. - Only builds that explicitly passed
USE_OPT_LIBS=0are affected: the flag now aborts the build with a migration hint.USE_OPT_LIBS=1is still accepted.
- The default build, the
- Updated the Intel® Cryptography Primitives Library dependency to 2.3.0 and re-enabled the AVX-512 IFMA variant that was temporarily disabled in 2.30.
- Extended
sgx_ql_qv_supplemental_tto supplemental data version 3.6: appended the TDQE SVN (sgx_tdqe_svn), the TD Migration fields (tdx_vmid,tdx_td_id,tdx_init_*,tdx_curr_*) andtee_report_type. Consumers that allocate this structure bysizeof()should rebuild against the updated headers. - Improved the start-up synchronization of the untrusted switchless workers. The change is in the static
libsgx_uswitchless.a; applications using switchless calls must be relinked to pick it up. - uRTS: stricter validation of ELF relocation data when loading an enclave.
- Trusted pthread library: improved thread descriptor lifetime management; a failed
pthread_create()OCALL now aborts the enclave. - Protected FS and trusted crypto: additional scrubbing of sensitive buffers on error paths and on destruction.
- C++ runtime: improved exception handling under heap exhaustion.
- Trusted Verification Library (TVL): stricter input validation for QAE appraisal.
- Intel® SGX debugger (
sgx-gdb): improved XSAVE handling; the uRTS debugger hooks are now exported. - Removed the
liburts_internal.sobuild artifact; AESM now uses the regular uRTS fromlibsgx-urts.
- [BREAKING] Removed the OpenSSL/SGXSSL crypto build option (
- Build and packaging
- The build no longer downloads the patched prebuilt GNU
binutilstoolset.CVE-2020-0551mitigation builds use the system assembler, andmakereports an early configuration error if it lacks the required options. The last published package remains available for legacy operating systems. - Added
WERROR=0to opt out of the blanket-Werror, for building with compilers newer than the validated ones. Warnings are still reported and-Werror=format-securitystays in force. make preparationnow fully honorsOFFLINE_BUILD=1.- The SDK installer no longer needs
binutils(objdump) on the target system. - Untrusted binaries keep the Intel® CET (IBT/SHSTK) note at link time and carry a deterministic build-id. Release builds of
libsgx_utls.a,libtdx_tls.a, the simulation libraries andsgx_encryptno longer carry debug information. - Build output is one short line per step by default; pass
V=1for the full command lines. - The
sgx-enclave-runtimeinstall target now selects the udev rule by the build host's systemd version, likelibsgx-enclave-common. On systemd 248 or later it installs94-sgx-enclave.rulesinstead of91-sgx-enclave.rules(MODE=0666), so/dev/sgx_enclavekeeps systemd's default permissions (0660, groupsgx). - Removed the unused single
.specfilesgx-enclave-runtimeRPM packaging. The regularrpm_enclave_runtime/rpm_psw_pkgflow is unaffected. - Split the README into
README.md,BUILDING.mdandINSTALL.md.
- The build no longer downloads the patched prebuilt GNU
- Sample projects
- SampleAttestedTLS now builds against Intel® SGX SSL 3.5.9 (OpenSSL 3.5.9, previously 3.0.20) and verifies the checksum of the downloaded OpenSSL archive.
- Other changes
- Removed Debian* 10 support. Debian 10 reached end of life on June 30, 2024 💬 Debian announcement.
- Security hardening and bug fixes.
Note
Migrating from USE_OPT_LIBS=0 (OpenSSL/SGXSSL crypto build option).
- If you built with
USE_OPT_LIBS=0only to get a working SDK → drop the flag and build the default (make sdk).
Thesgx_tcryptoAPI andsgx_tcrypto.hheader are identical; no enclave source changes are required, only the backing implementation (CPL instead of OpenSSL) differs. - If you need OpenSSL's wider
libcryptoinside the enclave → build the standalone Intel SGX SSL project (intel/intel-sgx-ssl) from source and link it into your enclave.
This is independent of how the SDK was built, coexists with the CPL-based SDK, and is demonstrated by the SampleAttestedTLS sample.
📦 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.