Commit Graph

43 Commits

Author SHA1 Message Date
Bartosz Gotowalski f7a86a8b8c Updates the Linux reproducibility tooling to include building QAE
Build and collect the QAE shared library (`libsgx_qae.so`) as part of the AE reproducible build.
Add a pre-run cleanup step to remove a potentially problematic WAMR-generated `version.h` on the bind-mounted tree.
Document that `--sgx-src-dir` should point to a clean source tree without prior build artifacts.

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-02-19 17:12:52 +01:00
Bartosz Gotowalski 83838df483 Updates the SGX developer reference link used in the reproducibility verifier README to a unified “latest” documentation URL
Replaces a hardcoded versioned PDF link (2.27) with the “linux-latest” developer reference PDF link.

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-02-10 09:20:35 +01:00
Bartosz Gotowalski 28e0172f77 Improves the Docker launch script to handle both interactive terminal environments and non-interactive environments (CI, nohup, file redirection, cron)
Added TTY detection logic using `[ -t 0 ] && [ -t 1 ]` to determine if the script is running in an interactive environment
Refactored Docker command construction to use arrays for proper argument handling and variable expansion
Consolidated duplicate `docker run` commands into a single reusable command array

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-02-06 16:09:42 +01:00
Bartosz Gotowalski 0773103ca6 Fixes the build script after a refactoring that reorganized the directory structure for various architectural enclaves (AEs)
Removed the Launch Enclave (LE) build steps
Updated paths for QE3, ID Enclave, TDQE, and QvE to their new locations under `ae/` subdirectory

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-02-06 11:17:55 +01:00
Bartosz Gotowalski 702d9c8704 Bumps the SGX version to 2.28
Version numbers updated from 2.27 to 2.28 across build scripts and version headers
Copyright years updated from 2025 to 2026
Repository references renamed from `intel/linux-sgx` to `intel/confidential-computing.sgx`

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-01-26 16:39:56 +01:00
ljuzwiuk 1cce134370 Remove EPID support.
Removed:
- Support for EPID based Attestation. Including Remote Attestation. (sgx_uae_epid.h, sgx_key_exchange.h)
- Support for Quote version 1 and 2

---------

Signed-off-by: Lukasz Juzwiuk <lukasz.a.juzwiuk@intel.com>
2026-01-13 11:08:37 +01:00
Bartosz Gotowalski d631c33967 Updates version references in the AE reproducibility verifier documentation to reflect the latest Intel SGX releases
Updated Intel SGX Developer Reference documentation link from version 2.22 to 2.27
Updated DCAP repository reference from version 1.22 to 1.24 with updated repository URL

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-12-03 13:13:11 +01:00
Bartosz Gotowalski 5e67a60883 Removes outdated step in verifying QVE (Quote Verification Enclave) reproducibility documentation
Removed the "Note" section containing patch instructions for QVE reproduction

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-11-24 16:45:05 +01:00
Bartosz Gotowalski d8e22e84dc Updates the reproducible build Docker environment to Ubuntu 22.04
Upgraded base Docker image from Ubuntu 20.04 to 22.04
Updated Nix installer from version 2.9.0 to 2.18.0
Added xz-utils to the list of installed packages

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-10-27 13:40:20 +01:00
Bartosz Gotowalski 806a610c44 Update SGX SDK version to 2.27 and DCAP to 1.24
Updated components to newest version

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-10-24 18:45:27 +02:00
Bartosz Gotowalski 9f5eb70008 Fixes a Docker build failure in the reproducibility environment by upgrading the Nix installation
Updated Nix installation URL from version 2.9.0 to 2.18.0 to meet Nixpkgs minimum requirements

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-10-22 10:28:57 +02:00
Bartosz Gotowalski 8e9ed532cc 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 <bartosz.gotowalski@intel.com>
2025-05-30 14:54:34 +02:00
Li, Xun 9fafc27e8f Linux 2.25 Open Source Gold Release
Upgraded to OpenSSL 3.0.14.
Upgraded Intel(R) Integrated Performance Primitives (IPP) Cryptography library to version
  2021.12.1.
Supported FIPS 140-3 Certifiable IPP Crypto based Trusted Library.
Upgraded Intel SGX Architecture Enclaves based on new IPP crypto library.
Upgraded Intel DCAP Quote Verification Enclave to integrate OpenSSL/SgxSSL 3.0.14.
Removed Intel DCAP PCCS from repository.
Added Ubuntu* 24.04 LTS 64-bit Server support.
Fixed bug.

Note that PCCS is not available from this release. Please follow DCAP installation guide to use
`PCCSAdminTool` to retrieve the attestation collaterals or use old version PCCS.

Signed-off-by: Li, Xun <xun.li@intel.com>
2024-09-26 15:34:56 +08:00
Li, Xun a53adeaab7 Linux 2.24 Open Source Gold Release
Upgraded to OpenSSL 3.0.13.
Upgraded to Intel(R) Integrated Performance Primitives (IPP) Cryptography library
  version 2021.11.
Upgraded to Protobuf 3.23.2.
Upgraded MbedTLS to 3.5.2.
Upgraded Intel DCAP Ring3 Abstraction Layer (R3AAL) library to support ConfigFS-TSM
  as communication channel between host and guest for TDX remote attestation.
Upgraded Intel DCAP Quote Verification Enclave to integrate OpenSSL/SgxSSL 3.0.13.
Upgraded new TDX attestation result “TD_RELAUNCH_ADVISED” in Intel DCAP Quote
  Verification Library (QVL) and Appraisal Engine.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2024-04-26 15:24:15 +08:00
Zhang Lili 05851b21a1 Update reproducible README to add the links of AEs' README files.
Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
2024-04-03 16:47:17 +08:00
Li, Xun cd6c2a8b81 Linux 2.23 Open Source Gold Release
Supported new OS: Ubuntu* 23.10 64-bit Server version.
Upgraded to OpenSSL 3.0.12.
Upgraded MbedTLS to 3.5.0.
Added SM2 encrypt/decrypt algorithm to the GM/SM (PRC National Commercial
  Cryptographic Algorithms) sample code.
Introduced the Intel® DCAP Appraisal Engine within quote verification library,
  empowering users to evaluate verification results against diverse policies.
Upgraded Intel SGX Quote Verification Enclave to integrate OpenSSL/SgxSSL 3.0.12.
Added Rust wrapper for quote provider library APIs.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2024-01-17 16:33:35 +08:00
Li, Xun 8a22317709 Linux 2.22 Open Source Gold Release
Upgraded to OpenSSL 3.0.10.
Added interoperable RA-TLS support which follows CCC design.
Enhanced Protect File System performance and added additional dependency
  `libsgx_pthread.a`.
Added the Constant Time instruction Decoder (CTD) into the default AEX-Notify
  mitigation handler in order to prevent the introduction of any additional
  subtle sidechannel leakages within the default handler.
Added Mistletoe 3 mitigations to the IPP Cryptography Library to the AES-ECB,
  AESGCM, and AES-CMAC algorithms. These have been incorporated transparently
  into the `sgx_tcrypto` library.
Resigned all Intel® SGX Architecture Enclaves.
Upgraded Intel SGX Quote Verification Enclave to integrate OpenSSL/SgxSSL 3.0.10.
Added Attestation Library support for Intel(R) TDX Migration TD.
Added Rust wrapper for low-level Quote Generation APIs.
Enabled `SE_TRACE` log in release binary.
Updated Rust QVL wrapper to use native Rust structure for quote verification
  collateral.
Added a limitation in the DCAP QVL to only allow the user to set the QvE load
  policy once.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2023-10-24 11:05:23 +08:00
Zhang, Lili Z f47d0e5a01 Linux 2.21 Open Source Gold Release
Upgraded to OpenSSL 1.1.1u.
Introduced Intel(R) TDX 1.4 and 1.5 support
Upgraded Ring3 Abstraction Layer (R3AAL) library to support
Intel(R) TDX MVP 6.2 kernel
Enhanced quote verification performance in multi-thread scenarios
Fixed bugs.

Signed-off-by: Zhang, Lili Z <lili.z.zhang@intel.com>
2023-08-22 10:10:14 +08:00
Li, Xun e7bbc158fa Linux 2.20 Open Source Gold Release
Supported the AEX (Asynchronous Enclave Exit) Notify feature.
Supported Mbed-TLS Cryptography library (excluding SSL/TLS portion) in Enclave.
Applied patches to OpenSSL 1.1.1t, fixed CVE-2023-1255, CVE-2023-0465 and
  CVE-2023-0466.
Upgraded to Intel(R) Integrated Performance Primitives (IPP) Cryptography
  library version 2021.7.
Upgraded Intel SGX Quote Verification Enclave to integrate updated SgxSSL.
Enhanced the attestation local cache functionality by giving users the option
  to provide their own cache file.
Enabled QPL/QCNL log in DCAP samples.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2023-07-21 10:11:26 +08:00
Li, Xun 1bf092a389 Linux 2.19 Open Source Gold Release
Supported the Key Separation and Sharing (KSS) feature in Simulation mode.
Upgraded to OpenSSL 1.1.1t.
Upgraded Intel(R) SGX Quote Verification Enclave to integrate SgxSSL/OpenSSL
  version 1.1.1t.
Added new API in quote verification library to extract FMSPC
  (Family-Model-SteppingPlatform-CustomSKU) value from ECDSA quote.
Added Rust support for SGX ECDSA quote generation.
Added Linux kernel 5.19 support in TDX R3AAL (Ring 3 Attestation Abstraction Layer).
Removed Protobuf in TDX QGS (Quote Generation Service) and R3AAL (Ring 3
  Attestation Abstraction Layer).
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2023-03-10 09:06:21 +08:00
Li, Xun b0af6e75ac Linux 2.18 Open Source Gold Release
Along with the latest processor microcode address CVE-2022-21233.
  Modified the Switchless library to have mitigations for the associated issue.
Added support for the Linux kernel APIs for the Enclave Dynamic Memory
  Management (EDMM) features that are available with the Linux kernel v6.0 or
  later. Refer to the SGX SDK developer reference for details on new trusted
  APIs and enclave configuration for the EDMM features.
Enabled C++17 within SGX SDK.
Supported AMX (Advanced Matrix Extensions) in Enclave.
Replace hardcoded Enclave signing keys in all sample projects with dynamically
generated keys.
Added a new API to allow user to configure enclave internal cache size in the
  Protected File System library.
Upgraded to OpenSSL 1.1.1q and upgraded Intel(R) SGX Quote Verification Enclave
  to integrate SgxSSL/OpenSSL version 1.1.1q.
Supported new OS: Ubuntu* 22.04 LTS 64-bit Server version, CentOS* 8.3 64bits,
  Red Hat* Enterprise Linux* Server 8.6 (for x86_64), SUSE* Linux* Enterprise
  Server 15.4 64bits, Debian* 10 and Anolis* OS 8.6.
Upgraded Intel SGX QE3 to make it backward compatible.
Improved ECDSA quote generation and verification performance by caching PCK
  certificates and collaterals in memory and disk drive.
Added Java support for quote verification library.
Added new APIs to unify Intel SGX and TDX quote verification in Quote
  Verification Library.
Added Advisory ID in ECDSA quote verification supplemental data.
Added Intel TDX support in RA-TLS (Remote Attestation based TLS) library.
Improved TDX quote generation throughput in vsock mode.
Added Rust support for TDX quote generation.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2022-11-24 13:48:25 +08:00
Li, Xun effae62802 Linux 2.17 Open Source Gold Release
Along with the latest processor microcode and re-signed all the Intel(R) SGX
  Architecture Enclaves (AEs) to address CVE-2022-21123, CVE-2022-21125 and
  CVE-2022-21166.
Upgraded to Protobuf 3.20.
Upgraded to SgxSSL/OpenSSL 1.1.1o.
Added Intel TDX Attestation support.
Added Rust support for ECDSA quote verification.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2022-06-15 09:34:27 +08:00
Li, Xun 321a6580fb Linux 2.16 Open Source Gold Release
Upgraded to OpenSSL 1.1.1m.
Provided RA-TLS (Remote Attestation based Transport Layer Security) APIs and
  Samples.
Supported PKRU (Protection Key rights Register) in Enclave.
Added APIs of SHA384 and VerifyReport2 to support TDX.
Enhanced QPL (Quote Provider Library) to support caching Intel PCK
  (Provisioning Certificate Key) certificate chain in local memory, or
  retrieving Intel PCK cert chain from local HTTP/S address.
Upgraded Intel ECDSA Quote Verification Enclave to integrate SgxSSL/OpenSSL
  version 1.1.1m.
Introduced Intel ID enclave for QE identity generation.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2022-04-06 12:06:27 +08:00
Li, Xun a59e51e223 Linux 2.15.1 Open Source Gold Release
Upgraded to OpenSSL 1.1.1l

Signed-off-by: Li, Xun <xun.li@intel.com>
2021-11-18 15:30:52 +08:00
Zhang Lili 6bb988fd7c Linux 2.15 Open Source Gold Release
Upgraded Intel(R) Integrated Performance Primitives Cryptography library to version 2021 update 3.
Upgraded Intel(R) SGX Architecture Enclaves based on new IPP crypto library.
Added software prevention of fault injection attacks.
Upgraded to GNU Binutils 2.36.1. Stopped providing ld.gold (developers should use ld instead).
Supported Google Protobuf C++.
Enabled C++14 within SGX SDK.
Added SM2/3/4 Samples.
Fixed bugs.

Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
2021-09-30 00:32:18 +00:00
Pi Delport 69aff72510 docs(linux/reproducibility/README): fix typos (#724)
Signed-off-by: Pi Delport <pjdelport@gmail.com>
2021-07-16 08:43:51 +08:00
lzha101 500517af57 Update README and script. (#727)
Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
2021-07-14 12:41:44 +08:00
Li, Xun edfe42a517 Linux 2.14 Open Source Gold Release
Supported loading enclave at address 0.
Upgraded Intel(R) Quote Verification Enclave to integrate SgxSSL/OpenSSL version 1.1.1k.
Updated the DCAP driver V1.33 with stability fixes, released as V1.33.2. This is to support
  legacy solutions not ready to transition to the latest DCAP driver V1.41 or kernel 5.11+.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2021-07-13 14:01:03 +08:00
lzha101 26c458905b Update copyright. (#708)
Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
2021-05-18 10:52:48 +08:00
Zhang Lili f1fcf9175d Linux 2.13.3 Open Source Gold Release
Upgraded to Intel(R) Integrated Performance Primitives (IPP) Cryptography library version 2020 update 3.
Upgraded Intel(R) SGX Architecture Enclaves based on new IPP crypto library.
Fixed bugs.

Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
2021-05-07 23:33:49 +08:00
Li, Xun 56faf11a45 Revert "Linux 2.13.1 Open Source Gold Release"
Linux 2.13.1 is broken.

This reverts commit 63d0e65cfa.

Signed-off-by: Li, Xun <xun.li@intel.com>
2021-04-06 12:00:15 +08:00
Li, Xun 63d0e65cfa Linux 2.13.1 Open Source Gold Release
Upgraded Intel(R) Integrated Performance Primitives (IPP) Cryptography library to version 2020 update 3.
Upgraded Intel(R) SGX Architecture Enclaves based on new IPP crypto library.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2021-03-30 13:56:43 +08:00
Li, Xun 73b8b57aea Linux 2.13 Open Source Gold Release
Added more logs in PSW components for identifying issues.
Upgraded OpenSSL and SgxSSL to latest version 1.1.1i in DCAP components.
Added data base migration support in PCCS.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2021-02-04 14:56:56 +08:00
lzha101 ae3735dc86 Merge pull request #603 from sbellem/ae-repro-verif-fix-links
Fix prebuilt AE downloads links.

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-11-27 15:26:31 +08:00
Sylvain Bellemare 8352ed6322 Fix typo: unsiged -> unsigned (#605)
Fix typo: unsiged -> unsigned in AE reproducibility verification steps.

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-11-27 15:24:53 +08:00
Li, Xun 608fe1df4c Linux 2.12 Open Source Gold Release
Added Ubuntu 20.04 and CentOS 8.2 support.
Added Intel(R) Provisioning Certification Service V3 API support for ECDSA attestation.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2020-11-11 17:17:33 +08:00
lzha101 74b24b69f9 Replace the reproducible script and README with 2.10 reproducible branch. (#618)
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-10-20 09:01:02 +08:00
Sylvain Bellemare 1f07408cad Add links to dcap pre-built 2020-09-25 11:49:16 +01:00
Sylvain Bellemare 1155dcf696 Fix links to downloads for linux-latest 2020-09-23 14:46:34 +01:00
lzha101 9aaa2e8426 Merge pull request #580 from sbellem/fix-typo
Fix typo in linux/reproducibility/README.md

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-08-31 15:51:28 +08:00
Li, Xun b9b071b544 Linux 2.11 Open Source Gold Release
Supported new OS: RHEL 8.2 and SUSE 15.
Provided standalone Intel(R) SGX DCAP Quote verification library installer.
Added Intel(R) SGX DCAP Platform Certificate ID Retrieval Tool and Multi-package Registration
  Agent (MPA) installers into SGX installation repo.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2020-08-28 09:01:06 +08:00
Sylvain Bellemare d4c55e3139 Fix typo in linux/reproducibility/README.md 2020-08-04 15:45:03 -04:00
Li, Xun 60d36e0de7 Linux 2.10 Open Source Gold Release
Provided a reproducible SDK.
Supported new OS: RHEL 8.1, CentOS 8.1 and Fedora 31.
Supported user to specify platform id in PCK Cert ID Retrieval Tool’s command line option.
Added ability to execute Platform Cert ID Retrieval Tool on multi-package platforms without
  loading enclaves. PCCS now supports this functionality. The platform still needs to support
  SGX.
Updated Platform Cert ID Retrieval Tool and Multi-package registration tool to align with BIOS
  platform manifest changes.
Added .deb and .rpm installers for Platform Cert ID Retrieval Tool and Multi-package
  Registration Agent.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2020-07-07 08:42:08 +08:00