Commit Graph

73 Commits

Author SHA1 Message Date
Haitao Huang 816df5c360 PSW: fix docker build and psw bin installer for urts version update
Signed-off-by: Haitao Huang <haitao.huang@linux.intel.com>
2022-12-14 21:49:41 -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
Qiu Feng e151e2a6dd Remove AE debugInfo packages to pass build on some distros (#876)
* Remove AE debugInfo packages to pass build on some distros
* Update DCAP submodule commit reference
2022-08-26 14:22:31 +08:00
yuguorui 7523535879 Fix aesmd booting error after RPM upgrade.
According to the spec [1], the scriptlet %post of a new package executes
before %preun of the old package.

This will cause the startup.sh of the new package to be executed first,
and then the cleanup.sh of the old package to be executed when
sgx-aesm-service is upgraded, and the user aesmd will be deleted,
which leading aesmd booting error.

Replace %post with %posttrans to make sure the prerequisites for service
aesmd are met.

[1]. https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/

Signed-off-by: yuguorui <yuguorui@pku.edu.cn>
2022-06-24 13:33:34 +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
Haitao Huang da3ce11c64 Merge pull request #810 from haitaohuang/deb_docker
Dockerfile: add debian package build
2022-06-06 10:49:55 -05:00
Zhang Lili e636b6c42b Fix psw installer failure casued by PATH.
Signed-off-by: Zhang Lili <lili.z.zhang@intel.com>
2022-04-13 09:51:32 +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
Haitao Huang dd65737a2f Dockerfile: add debian package build
Updated README
Also revert aesm docker to run as root inside
This was to ensure access to /dev/sgx_provision

Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
2022-03-23 17:22:36 -07:00
Guorui Yu 71211efb54 Fix aesmd service permission in linksgx.sh. (#736)
This commit ensures that no matter what the order of package installation is,
aesmd can have access to the sgx_provision device file.

Signed-off-by: yuguorui <yuguorui@pku.edu.cn>
2022-01-05 15:52:19 +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
leone d36736dba0 fix typo 2021-09-07 22:29:18 +08:00
Haitao Huang 5178e0c26b Merge pull request #725 from haitaohuang/docker_aesm
docker: run aesm with root
2021-07-19 11:05:23 -05: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
Haitao Huang 1dea275f95 docker: run aesm with root
Groups/permissions in container do not always match with host env.
Run aesm with root to ensure access to /dev/sgx_provision

Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
2021-07-09 03:50:01 +00: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
Sylvain Bellemare 92e99750cf Set external to true for aesmd-socket volume
Fixes #657

Signed-off-by: Sylvain Bellemare <sbellem@gmail.com>
2021-01-26 16:57:06 +00: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
Ismo Puustinen 77b2a243ea docker: use a volume for sharing the aesmd socket.
When sharing aesmd socket between two Docker containers, use a dedicated
volume instead of tmp directory on the host.
2020-09-02 10:07:54 +03: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
Haitao Huang d340cef321 Fix an error in docker/build
And minor README update

Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
2020-06-23 08:05:52 -05:00
Haitao Huang 21f4d8209f Update docker files to use the FLC driver as default
Signed-off-by: Haitao Huang <4699115+haitaohuang@users.noreply.github.com>
2020-06-12 10:54:08 -05:00
Li Xun 2e3bbb63d1 Merge pull request #522 from dcmiddle/update-sgxlibs-uaesplit
Update SDK installer to provide sim libs
2020-04-10 10:01:09 +08:00
Li, Xun 1eaa4551d4 Linux 2.9.1 Open Source Gold Release
Supported to query Intel(R) SGX attestation key ID list.
Fixed bugwqs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2020-04-09 14:45:01 +08:00
Dan Middleton d5e2718e23 Update SDK installer to provide sim libs
Simulation libraries are provided through the SDK installation into
the sdk_libs directory and the environment file adds that directory to
LD_LIBRARY_PATH. Starting in version 2.8 new simulation libraries were
introduced but not added to this path.

This commit adds libsgx_quote_ex_sim.so, libsgx_epid_sim.so, and
libsgx_launch_sim.so to the expected directory.

Without this change applications following the conventions of the sample
Makefiles may build but fail to execute.

Signed-off-by: Dan Middleton <dan.middleton@intel.com>
2020-04-06 15:22:49 -05:00
Li, Xun 4589daddd5 Linux 2.9 Open Source Gold Release
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2020-03-10 12:47:50 +08:00
Zhang Lili Z 9ddec08fb9 Linux 2.8 Open Source Gold Release.
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2020-01-16 09:56:26 +08:00
Li, Xun d8a31d2e5b Remove Dockerfile and README
Signed-off-by: Li, Xun <xun.li@intel.com>
2019-12-30 13:08:28 +08:00
Li, Xun d166ff0c80 Linux 2.7.1 Open Source Gold Release
Updated OpenSSL to 1.1.1d.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2019-11-12 13:55:35 +08:00
Zhang Lili Z b13ab0eae7 Linux 2.7 Open Source Gold Release
Changes:
Added a command option “-resign” for Signing Tool.
Split the header file of Un-trusted Architecture Services.
Supported Red Hat* Enterprise Linux* Server 8.0 (for x86_64). And we do not support
Red Hat* Enterprise Linux* Server 7.6 (for x86_64) from this release
Added support for new version Intel(R) Provisioning Certification Server interfaces.
Added new libraries libsgx_epid.so, libsgx_launch.so, libsgx_platform.so and libsgx_quote_ex.so
Fixed bugs.

Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2019-10-18 00:16:40 +08:00
Li, Xun c505e6129a Linux 2.6 Open Source Gold Release
Added support for Reproducible Enclave Build using Docker file.
Added support for Intel AVX-512 instructions and Intel SHA Extensions New Instructions (SHA-NI) in trusted libraries.
Support both EPID and ECDSA based quote for quoting related interfaces in sgx_uae_service library.
Updated key exchange library to support both EPID and ECDSA based remote attestation.
Support new interface to check platform information blob from remote attestation response message.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2019-07-05 14:12:24 +08:00
Li, Xun b46e0b0003 Update Deb installer
Signed-off-by: Li, Xun <xun.li@intel.com>
2019-04-15 16:19:09 +08:00
Li, Xun d10cabebb5 Linux 2.5 Open Source Gold Release
Added new APIs in sgx_uae_service.h and sgx_ukey_exchange.h to support ECDSA quote based remote attestation.
  The set of legacy APIs supports EPID only and the set of new APIs supports ECDSA quotes.
Enhanced Edger8r with structure deep-copy feature.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2019-04-02 13:26:58 +08:00
Li, Xun 28817533cc Linux 2.4 Open Source Gold Release
Added support for the Key Separation and Sharing (KSS) feature.
Provided a set of new encryption and decryption functions such as sgx_hmac256_*.
Provided a new untrusted API: sgx_get_target_info.
Provided a new untrusted API: sgx_create_enclave_from_buffer_ex.
Updated the cryptography library and Architecture Enclaves to use Intel(R) Integrated
  Performance Primitives Cryptography 2019 Update 1.
Fixed bugs.

Signed-off-by: Li, Xun <xun.li@intel.com>
2018-12-20 11:02:39 +08:00
Zhang Lili Z db7fbf8712 Merge branch 'master' into dev_deb
Signed-off-by: Zhang Lili Z <lili.z.zhang@intel.com>
2018-09-29 18:26:23 +08:00