129 Commits

Author SHA1 Message Date
Bartosz Gotowalski 07cd9c3ba4 Updates the dcap_source submodule to a newer commit
Updated the dcap_source submodule commit hash from 79d83a9 to 1f362a6

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-04-29 13:10:49 +02:00
Bartosz Gotowalski 1a194080ff Updates the dcap_source submodule to a newer commit
Updated the dcap_source submodule commit hash from b1e1aff to 79d83a9

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-04-28 16:34:51 +02:00
Krzysztof Sandowicz 82177d3895 Updates the dcap_source submodule to a newer commit
Updates the dcap_source submodule to a newer commit
 
Updated the dcap_source submodule commit hash from 9781872 to b1e1aff

---------

Signed-off-by: Krzysztof Sandowicz <krzysztof.sandowicz@intel.com>
2026-04-28 13:09:58 +02:00
Bartosz Gotowalski aaec0e874c Updates the SGX prebuilt download script to fetch the 2.29 version of the prebuilds
Bump `optimized_libs` and `prebuilt_ae` artifact filenames from `2.28` to `2.29`
Update the checksum config filename to `SHA256SUM_prebuilt_2.29.cfg`
Point the download base URL to the `2.29` directory

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-04-24 17:08:28 +02:00
Krzysztof Wiśniewski 74ecd7d1c0 Bump DCAP after sgx_dcap_qal.h split
DCAP-specific include file (QAL APIs header) moved back to DCAP.
Set DCAP submodule to version that contains reverted headers.

---------

Signed-off-by: Krzysztof1 Wisniewski <krzysztof1.wisniewski@intel.com>
2026-04-21 16:47:13 +02:00
Bartosz Gotowalski 2b559e0e46 Updates the dcap_source submodule to a newer commit
Updated the dcap_source submodule commit hash from `8343616` to `ce2709f`.

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-04-10 07:58:14 +02:00
Bartosz Gotowalski 2741febf0f Update SGX version to 2.29
Update SGX version from 2.28 to 2.29
Update DCAP from 1.25 to 1.26

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-04-02 17:09:27 +02:00
Krzysztof Sandowicz 2a0053655f Enable support for CMake 4+
Compatibility with CMake < 3.5 has been removed from CMake 3.25+. SGXSDK updated to require minimum cmake version set to 3.5. Ubuntu 26.04 switched to cmake 4.2.3 which no longer accept cmake versions lower than 3.5.
The Maintainer field in Debian packaging must follow RFC 2822 email address format.

---------

Signed-off-by: Krzysztof Sandowicz <krzysztof.sandowicz@intel.com>
2026-04-01 11:49:27 +02:00
aplatasz 471a8b98b2 SGX Protobuf version update to 33.4
SGX Protobuf version update to 33.4. Protobuf's dependency Abseil version update to  20250512.1.

---------

Signed-off-by: Anna Platasz <anna.platasz@intel.com>
2026-03-27 10:41:52 +01:00
Krzysztof Wiśniewski ed8405d0fd [from DCAP][move 2/2] SGX SDK–related headers/TVL moved to final locations
SGX SDK–related attestation headers and the TVL sources originating from DCAP
tag: 'DCAP_1.25' are now relocated:
  FROM: the intermediate staging area:  './external/from_dcap'
        (created by the '[from DCAP][move 1/2]...') commit 5b0b8e9)
  INTO: their target SGX SDK repository layout.

This is a follow-on commit that places relocated files in its final locations 
and updates the build system accordingly.

Additional changes:
--------------------
- `libsgx-headers` DEB/RPM package now also contains the following 2 headers:
     1) sgx_qve_header.h
     2) sgx_dcap_qal.h
   Leveling w/ SDK - both files were part of the SDK already.

- SDK installer package now also contains the `sgx_dcap_constant_val.h` header
  (from TVL), including common QvE and QAE identity verification constants.

---------

Signed-off-by: Krzysztof1 Wisniewski <krzysztof1.wisniewski@intel.com>
2026-03-24 11:57:54 +01:00
Krzysztof Wisniewski 5b0b8e99b1 [from DCAP][move 1/2] Import SGX SDK–related headers/TVL into SGX tree
SGX SDK–related attestation headers and the TVL sources are relocated from the
DCAP repository (at 229ec6b0d5f1a411b6c96436d664b9ecc018559a, tag: DCAP_1.25)
into the SGX SDK repository layout.

Background
----------
This commit consolidates SGX SDK source code into a single repository, reducing
its dependency count. Although these files historically lived in DCAP, they
already participate in the SDK build and release and have so far been fetched
via the './external/dcap_source' submodule.

Placing SDK-owned definitions directly in the SDK makes ownership explicit,
reduces coupling, and lowers the risk of accidental cross-component API changes.
The TVL is now considered part of the SGX SDK; while it was already distributed
as an SDK library, its sources now live alongside the rest of the SDK.

The DCAP project will continue to use the same definitions via its dependency on
an SDK installation (and 'libsgx-headers', where appropriate).
This preserves existing behavior, as SDK headers already take precedence
over DCAP-local copies.

Mechanics
---------
1. This commit is part of a series. It only imports the required files into the
   intermediate './external/from_dcap' directory; the build system does not yet
   consume them.
2. Source provenance is preserved. Imported commits originating from DCAP have
   their commit subject prefixed with '[from DCAP]' for easier discovery.

Follow-up
---------
- A follow-on commit, marked '[move 2/2]', will place the files in their final
  locations and update the build system accordingly.
- A corresponding cleanup change in the DCAP repository will remove the
  relocated copies to maintain a single source of truth.

Note: This is a source-code reorganization only; no functional or packaging changes
      are introduced.

Signed-off-by: Krzysztof Wisniewski <krzysztof1.wisniewski@intel.com>
2026-03-24 09:32:09 +01:00
Krzysztof Sandowicz e85b1fa838 Support for 26.04 enabled in SGXSDK and DCAP
Dependencies updated to be backward compatible with already supported OSes and also support 26.04

---------

Signed-off-by: Krzysztof Sandowicz <krzysztof.sandowicz@intel.com>
2026-03-06 11:53:11 +01:00
krzyszt1 89b2501e9a Added UT for DCAP QvE
Added unit tests for TCB dates in QvE

---------

Signed-off-by: Krzysztof1 Wisniewski <krzysztof1.wisniewski@intel.com>
2026-02-20 14:25:47 +01:00
Bartosz Gotowalski a16b22b5e6 Updates the dcap_source submodule to a newer commit
Updated DCAP submodule reference from commit `a82678d5fdcd22b339abf74a1c97cc9e713318a2` to `0cb5696002761b5156e333c4bf0a3eaf9d7f3897`

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-02-17 17:10:24 +01:00
aplatasz 220b95e508 Abseil library patch fix, add missing abort()
Abseil library patch fix, add patched out abort() in FailWithoutStackTrace().

---------

Signed-off-by: Anna Platasz <anna.platasz@intel.com>
2026-02-17 11:17:53 +01:00
Maciej Bialaszewski 916c393cf0 Updates the dcap_source submodule to a newer commit
Updates the `dcap_source` submodule to point to a newer commit, advancing the submodule reference from `d20287a` to `a82678d`

---------

Signed-off-by: Maciej Bialaszewski <maciej.bialaszewski@intel.com>
2026-02-16 15:09:23 +01:00
Bartosz Gotowalski c8b1d85717 Updates the dcap_source submodule to a newer commit
Updated DCAP submodule reference from commit `ffbe8d610bbe27e86498437f14c280c522b5af65` to `d20287a48360723f8307ef7631962ada3e9707ec`

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-02-13 10:35:50 +01:00
Bartosz Gotowalski c672882be2 Updates the dcap_source submodule to a newer commit
Updated DCAP submodule reference from commit `f4d29a6020ddb6d1fd6c795ec130c18c52ab810a` to `ffbe8d610bbe27e86498437f14c280c522b5af65`

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-02-12 22:02:42 +01:00
Juan del Cuvillo de1a12b7b6 Updates the SGX SSL dependency bundle to Intel SGX SSL 3.0_Rev5.2.
Bumped OpenSSL version from 3.0.17 to 3.0.19
Updated Intel SGX SSL archive version from 3.0_Rev5.1 to 3.0_Rev5.2
Updated corresponding SHA256 checksums for both downloads

---------

Signed-off-by: Juan Del Cuvillo <juan.b.del.cuvillo@intel.com>
2026-02-12 18:05:54 +01:00
Mateusz Bronk f932089951 [build][w/a] Prevent libcbor build from stomping on output directory
The Makefile in `external/cbor` has a conditional logic (per comment: CentOS-specific), 
which is attempting to move output subdirectory (`(...)/lib`) to a 64-bit-specific one (`(...)/lib64`).
In case the target exists, a stomp was attempted (and prevented due to non-forceful `mv` use).

This workaround is appending to destination instead.

---------

Signed-off-by: Mateusz Bronk <mateusz.bronk@intel.com>
2026-02-06 07:22:49 +01:00
Bartosz Gotowalski 0700599eaf fixup! Updates the dcap_source submodule to a newer commit
Updates the `dcap_source` submodule to a newer commit, advancing it from `a9211bc` to `f4d29a6`

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-02-02 16:24:55 +01:00
Bartosz Gotowalski 1829c9ee92 Updates the dcap_source submodule to a newer commit
Updated the dcap_source submodule from commit `2268092b9f4ee0a622c63e5301ed31f1de23d11f` to commit `a9211bc5a003c0ba2e40e12b352033d88c390c37`

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-01-27 11:30:43 +01:00
Bartosz Gotowalski d2838fa71f Updates dependency version requirements in SGX components
Updated copyright year from 2025 to 2026 in RPM spec files
Bumped libsgx-pce-logic and libsgx-qe3-logic minimum version requirements from 1.24 to 1.25
Updated repository homepage URL in Debian control file

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-01-27 10:49:15 +01:00
lzha101 32694eea64 Trigger QAE package build and make it part of local repo.
Trigger QAE package build and make it part of local repo.

---------

Signed-off-by: Lili Zhang <lili.z.zhang@intel.com>
Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-01-26 14:31:21 +01:00
krzyszt1 590856d0c7 Removes the deprecated Launch Enclave mechanism from the Intel SGX Linux SDK codebase
Removed reference Launch Enclave implementation and related tools
Removed Launch Enclave service bundle from AESM
Updated build system to remove LE-related compilation flags and targets
Removed LE-related packages from installer scripts

---------

Signed-off-by: Krzysztof1 Wisniewski <krzysztof1.wisniewski@intel.com>
2026-01-23 07:50:18 +01:00
Bartosz Gotowalski 1e2ee3bd8a Updates the dcap_source submodule to a newer commit
Updated the dcap_source submodule commit reference from `0b542898617ead49352579d5a01a3b9896be5858` to `869fee6b6cbef3abd9f0f865f2cb8176f42c51d9`

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-01-22 15:54:59 +01:00
Bartosz Gotowalski 17453ebc8c Updates the dcap_source submodule to a newer commit
Updated the dcap_source submodule commit reference from `211ac0355051490aead80029aa463e73d7a1602c` to `0b542898617ead49352579d5a01a3b9896be5858`

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-01-21 15:00:54 +01:00
Bartosz Gotowalski c5eb323510 Adds a new Abseil patch to enable building on CentOS 10 and RHEL 10 with GCC 14
Added a new patch file `0001-fix-to-make-SGX-Linux-build-on-GCC14.patch` that undefines `__AVX__` in Abseil's CRC internal header
Updated build scripts to apply the new patch during the protobuf build process
Reformatted long command chains in Makefiles for better readability

---------

Signed-off-by: Bartosz Gotowalski <bartosz.gotowalski@intel.com>
2026-01-21 10:57:12 +01:00
lkalica-intel 6d89d8ed5a Refactoring of cpprt build process for all Linux distros
libcxxrt library wasn't updated for a long time. CentOS 10 introduced a new version of gcc and g++ compilers which are more strict than compilers in CentOS 9 and earlier. Because of that, a build of cpprt module (which contains source code of libcxxrt) was failing. Now libcxxrt module was extracted from cpprt module to sgx/external/ directory and its sources (in the latest version) are cloned directly from the external Github repository. It required a few adjustments to build cpprt module successfully on Linux distros.

---------

Signed-off-by: Lukasz Kalica <lukasz.kalica@intel.com>
2026-01-20 14:32:08 +01:00
Krzysztof Sandowicz fa0052ff6c Updates the DCAP (Data Center Attestation Primitives) dependency by bumping the submodule commit reference
Updated the `dcap_source` submodule to a newer commit

---------

Signed-off-by: Krzysztof Sandowicz <krzysztof.sandowicz@intel.com>
2026-01-13 11:16:40 +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 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