Commit Graph

99 Commits

Author SHA1 Message Date
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 857419fe1a Merge conflict resolution
Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-12-29 11:09:35 +01:00
sprzysta 63daae3d1f Update the DCAP submodule to new version
Updates the `dcap_source` submodule to a version with new project structure

---------

Signed-off-by: Sebastian Przystawski <sebastian.przystawski@intel.com>
2025-12-19 15:11:52 +01:00
sprzysta 21a568a286 Fixes build after moving the AE to a separate directory in the DCAP source
Updated include paths to use the new directory structure
Updated installer BOM files to reflect the new path

---------

Signed-off-by: Sebastian Przystawski <sebastian.przystawski@intel.com>
2025-12-19 14:26:14 +01:00
Bartosz Gotowalski 9674f286fb Update DCAP to 1.24.100.2
Updated SGX SDK version string to 2.27.100.1
Updated DCAP submodule commit reference

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-12-18 13:57:18 +01:00
Bartosz Gotowalski dc32e8f8a2 Update DCAP to 1.24.100.1
DCAP submodule update to new version

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-12-15 17:25:25 +01:00
Bartosz Gotowalski 02d8f52292 Bump DCAP to include PCCS fix, QVL repository rename in submodules list, and copyright header update
- Updates the DCAP submodule to incorporate a PCCS fix that addresses how PCK  certificates are handled when being inserted into TCB buckets
- Changes QVL repository name in submodules list to the new one
- Copyright headers dates corrected

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-12-14 16:45:55 +01:00
Bartosz Gotowalski 4a56e3914f Merge conflict resolution
Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-12-08 15:52:11 +01:00
Bartosz Gotowalski 24dc8107f3 Updates the protobuf dependency version via git patch to address a security vulnerability
Introduces a new patch file to bump protobuf Go dependency to v1.33.0
Updates Makefile targets to apply the new patch during build preparation
Integrates the patch application into both external/protobuf and root Makefile workflows

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
Signed-off-by: Krzysztof Sandowicz <krzysztof.sandowicz@intel.com>
2025-12-08 13:26:06 +01:00
Bartosz Gotowalski 651a51e723 Updates the DCAP (Data Center Attestation Primitives) submodule to include a fix for a QVE (Quote Verification Enclave) static cast issue
Updates the dcap_source submodule commit reference

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
Signed-off-by: Krzysztof Sandowicz <krzysztof.sandowicz@intel.com>
2025-12-03 19:56:13 +01:00
Bartosz Gotowalski de855d75fe Updates the DCAP (Data Center Attestation Primitives) submodule reference Release Candidate 1 (RC1)
- Updates the version number for DCAP components.
- Updates the license file for PCKCertSelection to Intel Simplified.
- Updates the supported operating systems list across multiple README files.
- Fixes the Quote Verification Sample to support both Windows and Linux.
- Bumps PCCS dependency validator.js from 13.15.20 to 13.15.23.

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-12-03 14:07:15 +01:00
Bartosz Gotowalski 6bb403ea86 Updates the DCAP PCCS dependency to v1.24
Updates the dcap_source submodule to a newer commit

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-11-18 14:15:43 +01:00
Bartosz Gotowalski 5a18e2cc65 Update the dcap_source submodule to ensure consistency regarding SDK & AE reproducibility
Updated the dcap_source submodule commit hash from `ed7a99c3355922e3de3950d5c298af734a5474f8` to `1d096c725b1e6e7614d91f8b1b4393b333c719e2`

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-11-06 11:22:18 +01:00
krzyszt1 2b7a5b2969 Updates the DCAP (Data Center Attestation Primitives) subproject to a new version that includes QVE (Quote Verification Enclave) updates
Updates the DCAP (Data Center Attestation Primitives) subproject to a new version that includes QVE (Quote Verification Enclave) updates

---------

Signed-off-by: Krzysztof1 Wisniewski <krzysztof1.wisniewski@intel.com>
2025-11-05 15:40:48 +01:00
Bartosz Gotowalski a614aa7ea4 Updates the DCAP submodule to incorporate the latest PCCS and upstream changes
Updates the DCAP (Data Center Attestation Primitives) submodule to a newer commit, incorporating the latest PCCS (Provisioning Certificate Caching Service) and upstream changes

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-10-31 15:44:04 +01:00
Bartosz Gotowalski a47882f04d Revert abseil patch modification to fix updates from 2.26 to 2.27 version
Removed the `#undef __AVX__` line from the SGX-specific preprocessor block in the Abseil patch. 
Change needs to be reintroduced in a different manner not impacting upgrades from 2.26 to 2.27 version

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-10-31 13:08:52 +01:00
krzyszt1 3325e85601 Updates the DCAP (Data Center Attestation Primitives) subproject to a newer commit version that includes fixes for QvE (Quote Verification Enclave)
Updated DCAP subproject commit hash to incorporate QvE fixes

---------

Signed-off-by: Krzysztof1 Wisniewski <krzysztof1.wisniewski@intel.com>
2025-10-31 11:31:05 +01:00
Bartosz Gotowalski 6b0a92c280 Update the DCAP submodule to incorporate OpenSSL 3.0.17-based version of the prebuilt archive
Updated the dcap_source submodule commit reference from `838f26f690ab550ece234faa19c5b1a9b9e84284` to `8b78014ba7e5a0a2beeafb24a13bc903dbb3d640`

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-10-30 13:06:57 +01:00
Krzysztof Sandowicz 3e0bc4f42a Updates the DCAP (Data Center Attestation Primitives) submodule to update QGS logic
Updates the DCAP submodule commit hash from `3ccb75837871e6685138ec1d3224e55de7bb0bd3` to `838f26f690ab550ece234faa19c5b1a9b9e84284`

---------

Signed-off-by: Krzysztof Sandowicz <krzysztof.sandowicz@intel.com>
2025-10-28 14:15:10 +01:00
Bartosz Gotowalski c6f0784317 Updates the DCAP submodule reference to version which includes the QVE ISVSVN number bump to 0xD
Updated DCAP submodule commit hash

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-10-27 12:53:10 +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 4b7b16e109 Updates the Intel SGX SSL library to 3.0_Rev5.1 in SGX and DCAP
Updates the Intel SGX SSL library to 3.0_Rev5.1 in SGX and DCAP
DCAP update fixes OpenSSL library reference in QVE tests

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-10-24 09:34:39 +02:00
krzyszt1 a1c24802bf Updates the DCAP (Data Center Attestation Primitives) submodule to a newer commit that includes a fix for the QvE (Quote Verification Enclave) Makefile
Updated DCAP submodule commit reference

---------

Signed-off-by: Krzysztof1 Wisniewski <krzysztof1.wisniewski@intel.com>
2025-10-23 15:31:40 +02:00
krzyszt1 4853aeb2dd Updates the DCAP submodule to a newer commit version that supports improved SA (Security Advisors) list handling capabilities
Updated DCAP submodule reference

---------

Signed-off-by: Krzysztof1 Wisniewski <krzysztof1.wisniewski@intel.com>
2025-10-23 09:17:28 +02:00
Bartosz Gotowalski 592dbdd40f Switch OpenSSL and SGXSSL to their long-term supported versions and ensure consistency across the project.
Switches OpenSSL from version 3.1.6 to 3.0.17 (and from 3.0.13 to 3.0.17 in sample code)
Updates SGXSSL from 3.1.6_Rev1 to 3.0_Rev5 (that runs on OpenSSL 3.0.17)
Updates the dcap_source subproject commit reference to the one relying on OpenSSL 3.0.17 and SGXSSL 3.0_Rev5

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-10-20 10:29:52 +02:00
Mateusz Bronk a4f0697882 Add PCCS Admin Tool to offline repo packaging make targets
Follow-up of upstream DCAP repo change which added `{deb|rpm}_pccs_admin_tool_pkg` make targets.
Adds corresponding build targets to the top-level `Makefile` (the package is now included in the "local repo" archive).

---------

Signed-off-by: Mateusz Bronk <mateusz.bronk@intel.com>
2025-10-09 12:25:13 +02:00
Mateusz Bronk 4ff6da403e Add PCS Client Tool to offline repo packaging make targets
Follow-up of upstream DCAP repo change which added `intel-tee-pcs-client-tool-*{.deb|.rpm}` packages.
Adds corresponding build targets to the top-level `Makefile` (the package is now included in the "local repo" archive).

---------

Signed-off-by: Mateusz Bronk <mateusz.bronk@intel.com>
2025-10-09 11:25:25 +02:00
Paweł Blajer 5fa1969c0b Updates the DCAP submodule after moving PCCS to a new submodule
Updates the DCAP submodule to a new commit after separating PCCS Admin Tool (into PCCS Admin Tool and PCS Client Tool), moving PCCS related files to a new repository and linking that repository to DCAP repo via submodule.

---------

Signed-off-by: Pawel Krzysztof Blajer <pawel.krzysztof.blajer@intel.com>
2025-10-06 15:43:56 +02:00
gklodkox bde9b196f9 Bump CXX Standard for AESM Service to 17 and DCAP to include -lpthread flag for GTEST
* Bumped C++ standard from 14 to 17 in the CMake configuration
* Updated DCAP source submodule to a newer commit with -lpthread flag for GTEST

---------

Signed-off-by: GracjanX Klodkowski <gracjanx.klodkowski@intel.com>
2025-09-29 16:33:57 +02:00
Paweł Blajer bc92465dce Update dcap submodule and adjust paths to PCCS
In recent changes to DCAP submodule PCCS paths have been changed. This PR updates to newest submodule and adjusts paths.

---------

Signed-off-by: Pawel Krzysztof Blajer <pawel.krzysztof.blajer@intel.com>
Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2025-09-26 16:19:41 +02:00
Krzysztof Sandowicz 519387ff81 Improves logging output by extracting just the filename from the full file path in log messages
Adds a cross-platform filename extraction macro that works with both Unix and Windows path separators
Updates production logging to use the cleaner filename format instead of full file paths
Updates the dcap_source submodule to a newer commit

---------

Signed-off-by: Krzysztof Sandowicz <krzysztof.sandowicz@intel.com>
2025-09-25 12:47:23 +02:00
Krzysztof Sandowicz 209df334b7 Updates the DCAP (Data Center Attestation Primitives) submodule to a newer commit, advancing from commit 497c8163d7960bd5a4f3a4dff8de8c4ab544c518 to 75900b8ac91e1feede9737538e176449a1e73fca
Updates DCAP submodule reference to a newer commit

---------

Signed-off-by: Krzysztof Sandowicz <krzysztof.sandowicz@intel.com>
2025-09-23 07:52:49 +02:00
Bartosz Gotowalski fd34b0fe6c Bump DCAP to include OpenSSL 3.0.17 in SSL preparation scripts
Signed-off-by: Gotowalski, Bartosz <bartosz.gotowalski@intel.com>
2025-09-11 09:23:28 +02:00
Bartosz Gotowalski f2318033ca Update DCAP submodule for multiple updates
Several updates in DCAP submodule:
* Removing strip operation as debug info is later stripped while creating deb/rpm prod, dev and debug packages
* Bump brace-expansion from 1.1.11 to 1.1.12 in /QuoteGeneration/pccs
* Bump on-headers and morgan in /QuoteGeneration/pccs
* Bump tar-fs from 2.1.2 to 2.1.3 in /QuoteGeneration/pccs
* Update dcap components nuget License.txt to match Intel Simplified Software License (Version October 2022)
* Fix to ensure safe path buffer operations.
* Platform Manifest buffer limited to 256KB for PCKRetrievalTool
* Fixed paths to WDK
* Added fixes to building sgxssl.cmd
* Admin tools inf packaging process updated. Switched to latest prebuilt AE.
* Added path to libsgx_usgxssl

Signed-off-by: Gotowalski, Bartosz <bartosz.gotowalski@intel.com>
2025-09-01 10:03:01 +02:00
Pawel Drzycimski 6ce4f4ad0e Basic fixes to make SGX Linux build on GCC14 used by CentOS10
Signed-off-by: Pawel Drzycimski <pawel.drzycimski@intel.com>
2025-07-29 13:18:14 +02:00
krzyszt1 812fa20961 DCAP source updated to fix .so libraries names.
Signed-off-by: Krzysztof Wisniewski <krzysztof1.wisniewski@intel.com>
2025-07-22 12:26:18 +02:00
Krzysztof Wisniewski 6e6608cb43 Bump DCAP source version
Signed-off-by: Krzysztof Wisniewski <krzysztof1.wisniewski@intel.com>
2025-07-09 15:36:44 +02:00
Bartosz Gotowalski be829176f8 Update DCAP submodule to version with fixed SSL preparation scripts
Signed-off-by: Gotowalski, Bartosz <bartosz.gotowalski@intel.com>
2025-06-12 16:14:02 +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
Li, Xun 242644c777 Update external/dcap_source submodule
Signed-off-by: Li, Xun <xun.li@intel.com>
2024-01-18 15:19:20 +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
Muhammad El-Hindi ef38c57bba Removed uncessary creation of apply_patch file 2022-11-30 09:05:27 +08:00
Muhammad El-Hindi a597187c5f Check if dnnl preparation step is required 2022-11-30 09:05:27 +08:00
melhindi e20be7e459 Update Makefile of dnnl for unattended installs
The proposed change makes it easier to perform unattended installations in e.g. docker containers or VMs.
The `git am` command applies patches and attempts to commit the changes.
Yet, in order to commit git requires `user.name` and `user.email` to be configured, which are both usually not set in containers or VMs.

Based on my testing it is enough to simply apply the patch to avoid git asking for the user's name and email.

Signed-off-by: Muhammad El-Hindi muhammad.el-hindi@cs.tu-darmstadt.com
2022-11-30 09:05:27 +08:00