Skip to content

Commit

Permalink
Intel(R) SGX DCAP 1.20 Release
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
llly committed Jan 17, 2024
1 parent f0db05a commit f2bf3c4
Show file tree
Hide file tree
Showing 662 changed files with 14,360 additions and 88,794 deletions.
15 changes: 15 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[submodule "QuoteVerification/QVL"]
path = QuoteVerification/QVL
url = https://github.com/intel/SGX-TDX-DCAP-QuoteVerificationLibrary.git
branch = DCAP/1.20
[submodule "QuoteVerification/QuoteVerificationService"]
path = QuoteVerification/QuoteVerificationService
url = https://github.com/intel/SGX-TDX-DCAP-QuoteVerificationService.git
branch = stable
[submodule "external/wasm-micro-runtime"]
path = external/wasm-micro-runtime
url = https://github.com/bytecodealliance/wasm-micro-runtime.git
branch = main
[submodule "external/jwt-cpp"]
path = external/jwt-cpp
url = https://github.com/Thalhammer/jwt-cpp.git
21 changes: 16 additions & 5 deletions QuoteGeneration/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ qpl_wrapper: qcnl_wrapper
qve_wrapper:
$(MAKE) -C ../QuoteVerification

td_migration:
$(MAKE) -C quote_wrapper/td_migration/linux _TD_MIGRATION=1
servtd_attest:
$(MAKE) -C quote_wrapper/servtd_attest/linux SERVTD_ATTEST=1

.PHONY: deb_sgx_dcap_ql_pkg
deb_sgx_dcap_ql_pkg: $(CHECK_OPT) pce_logic qe3_logic
Expand Down Expand Up @@ -154,9 +154,13 @@ deb_sgx_pck_id_retrieval_tool_pkg:
deb_sgx_ra_service_pkg:
$(MAKE) -C ../tools/SGXPlatformRegistration/ deb_pkg

.PHONY: deb_tee_appraisal_tool_pkg
deb_tee_appraisal_tool_pkg:
$(MAKE) -C ../QuoteVerification tee_appraisal_tool
./installer/linux/deb/tee-appraisal-tool/build.sh

.PHONY: deb_pkg
deb_pkg: deb_sgx_pce_logic_pkg deb_sgx_qe3_logic_pkg deb_sgx_dcap_ql_pkg deb_sgx_dcap_quote_verify_pkg deb_sgx_dcap_default_qpl_pkg deb_sgx_dcap_pccs_pkg deb_sgx_ae_qe3_pkg deb_sgx_ae_tdqe_pkg deb_sgx_ae_id_enclave_pkg deb_sgx_ae_qve_pkg deb_sgx_tdx_logic_pkg deb_sgx_tdx_qgs_pkg deb_sgx_tdx_attest_pkg deb_sgx_pck_id_retrieval_tool_pkg deb_sgx_ra_service_pkg
deb_pkg: deb_sgx_pce_logic_pkg deb_sgx_qe3_logic_pkg deb_sgx_dcap_ql_pkg deb_sgx_dcap_quote_verify_pkg deb_sgx_dcap_default_qpl_pkg deb_sgx_dcap_pccs_pkg deb_sgx_ae_qe3_pkg deb_sgx_ae_tdqe_pkg deb_sgx_ae_id_enclave_pkg deb_sgx_ae_qve_pkg deb_sgx_tdx_logic_pkg deb_sgx_tdx_qgs_pkg deb_sgx_tdx_attest_pkg deb_sgx_pck_id_retrieval_tool_pkg deb_sgx_ra_service_pkg deb_tee_appraisal_tool_pkg
@$(RM) -f ./installer/linux/deb/*.deb ./installer/linux/deb/*.ddeb
cp `find ./installer/linux/deb/ -name "*.deb" -o -name "*.ddeb"` ./installer/linux/deb/
cp `find ../tools/PCKRetrievalTool/installer/deb/ -name "*.deb" -o -name "*.ddeb"` ./installer/linux/deb/
Expand Down Expand Up @@ -226,8 +230,13 @@ rpm_sgx_pck_id_retrieval_tool_pkg:
rpm_sgx_ra_service_pkg:
$(MAKE) -C ../tools/SGXPlatformRegistration/ rpm_pkg

.PHONY: rpm_tee_appraisal_tool_pkg
rpm_tee_appraisal_tool_pkg:
$(MAKE) -C ../QuoteVerification tee_appraisal_tool
./installer/linux/rpm/tee-appraisal-tool/build.sh

.PHONY: rpm_pkg
rpm_pkg: rpm_sgx_dcap_ql_pkg rpm_sgx_dcap_default_qpl_pkg rpm_sgx_dcap_pccs_pkg rpm_sgx_ae_qe3_pkg rpm_sgx_ae_tdqe_pkg rpm_sgx_ae_id_enclave_pkg rpm_sgx_ae_qve_pkg rpm_sgx_tdx_logic_pkg rpm_sgx_tdx_qgs_pkg rpm_sgx_tdx_attest_pkg rpm_sgx_dcap_quote_verify_pkg rpm_sgx_pce_logic_pkg rpm_sgx_qe3_logic_pkg rpm_sgx_pck_id_retrieval_tool_pkg rpm_sgx_ra_service_pkg
rpm_pkg: rpm_sgx_dcap_ql_pkg rpm_sgx_dcap_default_qpl_pkg rpm_sgx_dcap_pccs_pkg rpm_sgx_ae_qe3_pkg rpm_sgx_ae_tdqe_pkg rpm_sgx_ae_id_enclave_pkg rpm_sgx_ae_qve_pkg rpm_sgx_tdx_logic_pkg rpm_sgx_tdx_qgs_pkg rpm_sgx_tdx_attest_pkg rpm_sgx_dcap_quote_verify_pkg rpm_sgx_pce_logic_pkg rpm_sgx_qe3_logic_pkg rpm_sgx_pck_id_retrieval_tool_pkg rpm_sgx_ra_service_pkg rpm_tee_appraisal_tool_pkg
@$(RM) -f ./installer/linux/rpm/*.rpm
cp `find ./installer/linux/rpm/ -name "*.rpm"` ./installer/linux/rpm/
cp `find ../tools/PCKRetrievalTool/installer/rpm/ -name "*.rpm"` ./installer/linux/rpm/
Expand All @@ -240,7 +249,7 @@ clean:
$(MAKE) -C quote_wrapper/tdx_quote/linux clean
$(MAKE) -C quote_wrapper/tdx_attest/linux clean
$(MAKE) -C quote_wrapper/tdx_verify/linux clean
$(MAKE) -C quote_wrapper/td_migration/linux clean
$(MAKE) -C quote_wrapper/servtd_attest/linux clean
$(MAKE) -C qcnl/linux clean
$(MAKE) -C qpl/linux clean
$(MAKE) -C ../QuoteVerification clean
Expand All @@ -264,6 +273,7 @@ clean:
./installer/linux/deb/libsgx-dcap-default-qpl/clean.sh
./installer/linux/deb/sgx-dcap-pccs/clean.sh
../tools/PCKRetrievalTool/installer/deb/sgx-pck-id-retrieval-tool/clean.sh
./installer/linux/deb/tee-appraisal-tool/clean.sh
./installer/linux/rpm/libsgx-dcap-ql/clean.sh
./installer/linux/rpm/libsgx-ae-qe3/clean.sh
./installer/linux/rpm/libsgx-ae-tdqe/clean.sh
Expand All @@ -278,6 +288,7 @@ clean:
./installer/linux/rpm/libsgx-dcap-default-qpl/clean.sh
./installer/linux/rpm/sgx-dcap-pccs/clean.sh
../tools/PCKRetrievalTool/installer/rpm/sgx-pck-id-retrieval-tool/clean.sh
./installer/linux/rpm/tee-appraisal-tool/clean.sh

rebuild:
$(MAKE) -f $(CUR_MKFILE) clean
Expand Down
2 changes: 1 addition & 1 deletion QuoteGeneration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ For Windows* OS
**NOTE**:`sgx_dcap_dev.inf` is for Windows* Server 2016 LTSC and `sgx_dcap.inf` is for Windows* Server 2019 LTSC.

## How to install
Refer to the *"Installation Instructions"* section in the [Intel(R) Software Guard Extensions: Data Center Attestation Primitives Installation Guide For Windows* OS](https://download.01.org/intel-sgx/sgx-dcap/1.19/windows/docs/Intel_SGX_DCAP_Windows_SW_Installation_Guide.pdf) to install the right packages on your platform.
Refer to the *"Installation Instructions"* section in the [Intel(R) Software Guard Extensions: Data Center Attestation Primitives Installation Guide For Windows* OS](https://download.01.org/intel-sgx/sgx-dcap/1.20/windows/docs/Intel_SGX_DCAP_Windows_SW_Installation_Guide.pdf) to install the right packages on your platform.


For Linux* OS
Expand Down
24 changes: 12 additions & 12 deletions QuoteGeneration/buildenv.mk
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ SGX_MODE ?= HW
SGX_ARCH ?= x64
SGX_DEBUG ?= 0

ifndef _TD_MIGRATION
ifndef SERVTD_ATTEST
ifneq ($(origin SGX_SDK),file)
include $(SGX_SDK)/buildenv.mk
else
include $(SGX_SDK)/buildenv.mk
else
$(info You may need to set environment variables if the SGX SDK is installed.)
$(info Use a command like 'source /opt/intel/sgxsdk/environment')
endif
Expand Down Expand Up @@ -193,8 +193,8 @@ ifneq ($(MITIGATION-CVE-2020-0551), LOAD)
endif
endif

ifdef _TD_MIGRATION
COMMON_FLAGS += -D_TD_MIGRATION
ifdef SERVTD_ATTEST
COMMON_FLAGS += -DSERVTD_ATTEST
endif

CFLAGS += $(COMMON_FLAGS)
Expand All @@ -220,11 +220,11 @@ ENCLAVE_LDFLAGS = $(COMMON_LDFLAGS) -Wl,-Bstatic -Wl,-Bsymbolic -Wl,--no-undefi
-Wl,-pie,-eenclave_entry -Wl,--export-dynamic \
-Wl,--defsym,__ImageBase=0

TD_MIGRATION_LINUX_TRUNK_ROOT_PATH := $(ROOT_DIR)/../../..
TD_MIGRATION_STD_INC_PATH := $(TD_MIGRATION_LINUX_TRUNK_ROOT_PATH)/common/inc
TD_MIGRATION_STD_LIB_PATH := $(TD_MIGRATION_LINUX_TRUNK_ROOT_PATH)/build/linux
TD_MIGRATION_CFLAGS := $(CFLAGS) -ffreestanding -nostdinc -fPIC -fvisibility=hidden -D_TD_MIGRATION
TD_MIGRATION_CXXFLAGS := $(TD_MIGRATION_CFLAGS) -nostdinc++
TD_MIGRATION_LDFLAGS := -nostdlib -nodefaultlibs -nostartfiles \
SERVTD_ATTEST_LINUX_TRUNK_ROOT_PATH := $(ROOT_DIR)/../../..
SERVTD_ATTEST_STD_INC_PATH := $(SERVTD_ATTEST_LINUX_TRUNK_ROOT_PATH)/common/inc
SERVTD_ATTEST_STD_LIB_PATH := $(SERVTD_ATTEST_LINUX_TRUNK_ROOT_PATH)/build/linux
SERVTD_ATTEST_CFLAGS := $(CFLAGS) -ffreestanding -nostdinc -fPIC -fvisibility=hidden -DSERVTD_ATTEST
SERVTD_ATTEST_CXXFLAGS := $(SERVTD_ATTEST_CFLAGS) -nostdinc++
SERVTD_ATTEST_LDFLAGS := -nostdlib -nodefaultlibs -nostartfiles \
-Wl,-Bstatic -Wl,-Bsymbolic -Wl,--export-dynamic -Wl,--gc-sections -g
TD_MIGRATION_BUILD_DIR := $(BUILD_DIR)/td_migration
SERVTD_ATTEST_BUILD_DIR := $(BUILD_DIR)/servtd_attest
20 changes: 10 additions & 10 deletions QuoteGeneration/common/inc/internal/se_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
#define STRFILEVER "1.19.100.3"
#define STRFILEVER "1.20.100.2"
#define COPYRIGHT "Copyright (C) 2023 Intel Corporation"
#define FILEVER 1,19,100,3
#define PRODUCTVER 1,19,100,3
#define STRPRODUCTVER "1.19.100.3"
#define FILEVER 1,20,100,2
#define PRODUCTVER 1,20,100,2
#define STRPRODUCTVER "1.20.100.2"
#define COMPANYNAME "Intel Corporation"
#define PRODUCTNAME "Intel® Software Guard Extensions"

#define DEFAULT_QPL_VERSION "1.13.106.3"
#define QUOTE_VERIFIER_VERSION "1.12.106.3"
#define QUOTE_LOADER_VERSION "1.11.106.3"
#define TDQE_WRAPPER_VERSION "1.14.106.3"
#define PCE_WRAPPER_VERSION "1.14.106.3"
#define DEFAULT_QPL_VERSION "1.13.107.2"
#define QUOTE_VERIFIER_VERSION "1.13.100.2"
#define QUOTE_LOADER_VERSION "1.11.107.2"
#define TDQE_WRAPPER_VERSION "1.14.107.2"
#define PCE_WRAPPER_VERSION "1.14.107.2"

#define QE3_VERSION "1.19.100.1"
#define QVE_VERSION "1.19.100.1"
#define QVE_VERSION "1.20.100.1"
#define IDE_VERSION "1.19.100.1"
#define TDQE_VERSION "1.19.100.1"
6 changes: 3 additions & 3 deletions QuoteGeneration/download_prebuilt.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@

@echo off

set ae_file_name=prebuilt_windows_dcap_1.19.zip
set checksum_file=SHA256SUM_prebuilt_windows_dcap_1.19.cfg
set server_url_path=https://download.01.org/intel-sgx/sgx-dcap/1.19/windows/
set ae_file_name=prebuilt_windows_dcap_1.20.zip
set checksum_file=SHA256SUM_prebuilt_windows_dcap_1.20.cfg
set server_url_path=https://download.01.org/intel-sgx/sgx-dcap/1.20/windows/
set server_ae_url=%server_url_path%/%ae_file_name%
set server_checksum_url=%server_url_path%/%checksum_file%

Expand Down
6 changes: 3 additions & 3 deletions QuoteGeneration/download_prebuilt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@

top_dir=`dirname $0`
out_dir=$top_dir
ae_file_name=prebuilt_dcap_1.19.tar.gz
checksum_file=SHA256SUM_prebuilt_dcap_1.19.cfg
server_url_path=https://download.01.org/intel-sgx/sgx-dcap/1.19/linux/
ae_file_name=prebuilt_dcap_1.20.tar.gz
checksum_file=SHA256SUM_prebuilt_dcap_1.20.cfg
server_url_path=https://download.01.org/intel-sgx/sgx-dcap/1.20/linux/
server_ae_url=$server_url_path/$ae_file_name
server_checksum_url=$server_url_path/$checksum_file

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DeliveryName InstallName FileCheckSum FileFeature FileOwner
<deliverydir>/dcap_quoteverify/inc/sgx_dcap_quoteverify.h <installdir>/include/sgx_dcap_quoteverify.h 0 main STP
<deliverydir>/QvE/Include/sgx_qve_header.h <installdir>/include/sgx_qve_header.h 0 main STP
<deliverydir>/appraisal/qal/sgx_dcap_qal.h <installdir>/include/sgx_dcap_qal.h 0 main STP
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
DeliveryName InstallName FileCheckSum FileFeature FileOwner
<deliverydir>/build/linux/libsgx_dcap_quoteverify.so <installdir>/lib/libsgx_dcap_quoteverify.so 0 main STP
<deliverydir>/build/linux/tee_appraisal_policy.wasm <installdir>/share/sgx/tee_appraisal_policy.wasm 0 main STP
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ PACKAGES=$(notdir $(wildcard $(PACKAGE_ROOT_FOLDER)/*))

USR_LIB_PATH=/usr/$(notdir $(shell gcc -print-multi-os-directory))/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2> /dev/null)
USR_INC_PATH=/usr/$(INC_DIR)
USR_SHARE_PATH=/usr/$(SHARE_DIR)

USR_LIB_VER=1.0.0
SPLIT_VERSION=$(word $2,$(subst ., ,$1))
Expand All @@ -46,6 +47,7 @@ install: $(PACKAGES)
cd $(shell readlink -m $(DESTDIR)/$(DCAP_QVL_PACKAGE_NAME)/$(USR_LIB_PATH)) && \
mv libsgx_dcap_quoteverify.so libsgx_dcap_quoteverify.so.$(USR_LIB_VER) && \
ln -fs libsgx_dcap_quoteverify.so.$(USR_LIB_VER) libsgx_dcap_quoteverify.so.$(call SPLIT_VERSION,$(USR_LIB_VER),1)
install -d $(shell readlink -m $(DESTDIR)/$(DCAP_QVL_DEV_PACKAGE_NAME)/$(USR_LIB_PATH))
cd $(shell readlink -m $(DESTDIR)/$(DCAP_QVL_DEV_PACKAGE_NAME)/$(USR_LIB_PATH)) && \
ln -fs libsgx_dcap_quoteverify.so.$(call SPLIT_VERSION,$(USR_LIB_VER),1) libsgx_dcap_quoteverify.so

Expand All @@ -56,5 +58,7 @@ $(PACKAGES):
mv $(PACKAGE_ROOT_FOLDER)/$@/$(LIB_DIR)/*.so $(DESTDIR)/$@/$(USR_LIB_PATH))
$(if $(wildcard $(PACKAGE_ROOT_FOLDER)/$@/$(INC_DIR)/.*), \
install -d $(shell readlink -m $(DESTDIR)/$@/$(USR_INC_PATH)) && \
install -d $(shell readlink -m $(DESTDIR)/$@/$(USR_LIB_PATH)) && \
mv $(PACKAGE_ROOT_FOLDER)/$@/$(INC_DIR)/* $(DESTDIR)/$@/$(USR_INC_PATH))
$(if $(wildcard $(PACKAGE_ROOT_FOLDER)/$@/$(SHARE_DIR)/.*), \
install -d $(shell readlink -m $(DESTDIR)/$@/$(USR_SHARE_PATH)) && \
mv $(PACKAGE_ROOT_FOLDER)/$@/$(SHARE_DIR)/* $(DESTDIR)/$@/$(USR_SHARE_PATH))
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ DCAP_QVL_DEV_PACKAGE_NAME=libsgx-dcap-quote-verify-dev

LIB_DIR=lib
INC_DIR=include
SHARE_DIR=share/sgx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ DeliveryName InstallName FileCheckSum FileFeature FileOwner
<deliverydir>/pccs/controllers/rootcacrlController.js <installdir>/controllers/rootcacrlController.js 0 main STP
<deliverydir>/pccs/controllers/tcbinfoController.js <installdir>/controllers/tcbinfoController.js 0 main STP
<deliverydir>/pccs/controllers/crlController.js <installdir>/controllers/crlController.js 0 main STP
<deliverydir>/pccs/controllers/appraisalPolicyController.js <installdir>/controllers/appraisalPolicyController.js 0 main STP
<deliverydir>/pccs/dao/models/fmspc_tcbs.js <installdir>/dao/models/fmspc_tcbs.js 0 main STP
<deliverydir>/pccs/dao/models/index.js <installdir>/dao/models/index.js 0 main STP
<deliverydir>/pccs/dao/models/pck_cert.js <installdir>/dao/models/pck_cert.js 0 main STP
Expand All @@ -24,6 +25,7 @@ DeliveryName InstallName FileCheckSum FileFeature FileOwner
<deliverydir>/pccs/dao/models/platforms.js <installdir>/dao/models/platforms.js 0 main STP
<deliverydir>/pccs/dao/models/enclave_identities.js <installdir>/dao/models/enclave_identities.js 0 main STP
<deliverydir>/pccs/dao/models/crl_cache.js <installdir>/dao/models/crl_cache.js 0 main STP
<deliverydir>/pccs/dao/models/appraisal_policy.js <installdir>/dao/models/appraisal_policy.js 0 main STP
<deliverydir>/pccs/dao/fmspcTcbDao.js <installdir>/dao/fmspcTcbDao.js 0 main STP
<deliverydir>/pccs/dao/pckCertchainDao.js <installdir>/dao/pckCertchainDao.js 0 main STP
<deliverydir>/pccs/dao/pckcertDao.js <installdir>/dao/pckcertDao.js 0 main STP
Expand All @@ -35,6 +37,7 @@ DeliveryName InstallName FileCheckSum FileFeature FileOwner
<deliverydir>/pccs/dao/platformTcbsDao.js <installdir>/dao/platformTcbsDao.js 0 main STP
<deliverydir>/pccs/dao/enclaveIdentityDao.js <installdir>/dao/enclaveIdentityDao.js 0 main STP
<deliverydir>/pccs/dao/crlCacheDao.js <installdir>/dao/crlCacheDao.js 0 main STP
<deliverydir>/pccs/dao/appraisalPolicyDao.js <installdir>/dao/appraisalPolicyDao.js 0 main STP
<deliverydir>/pccs/lib/libPCKCertSelection.so <installdir>/lib/libPCKCertSelection.so 0 main STP
<deliverydir>/pccs/lib_wrapper/pcklib_wrapper.js <installdir>/lib_wrapper/pcklib_wrapper.js 0 main STP
<deliverydir>/pccs/middleware/auth.js <installdir>/middleware/auth.js 0 main STP
Expand All @@ -44,6 +47,7 @@ DeliveryName InstallName FileCheckSum FileFeature FileOwner
<deliverydir>/pccs/migrations/01_db_version_1.js <installdir>/migrations/01_db_version_1.js 0 main STP
<deliverydir>/pccs/migrations/02_db_version_2.js <installdir>/migrations/02_db_version_2.js 0 main STP
<deliverydir>/pccs/migrations/03_db_version_3.js <installdir>/migrations/03_db_version_3.js 0 main STP
<deliverydir>/pccs/migrations/04_db_version_4.js <installdir>/migrations/04_db_version_4.js 0 main STP
<deliverydir>/pccs/pcs_client/pcs_client.js <installdir>/pcs_client/pcs_client.js 0 main STP
<deliverydir>/pccs/routes/index.js <installdir>/routes/index.js 0 main STP
<deliverydir>/pccs/services/identityService.js <installdir>/services/identityService.js 0 main STP
Expand All @@ -58,6 +62,7 @@ DeliveryName InstallName FileCheckSum FileFeature FileOwner
<deliverydir>/pccs/services/rootcacrlService.js <installdir>/services/rootcacrlService.js 0 main STP
<deliverydir>/pccs/services/tcbinfoService.js <installdir>/services/tcbinfoService.js 0 main STP
<deliverydir>/pccs/services/crlService.js <installdir>/services/crlService.js 0 main STP
<deliverydir>/pccs/services/appraisalPolicyService.js <installdir>/services/appraisalPolicyService.js 0 main STP
<deliverydir>/pccs/services/caching_modes/cachingMode.js <installdir>/services/caching_modes/cachingMode.js 0 main STP
<deliverydir>/pccs/services/caching_modes/cachingModeManager.js <installdir>/services/caching_modes/cachingModeManager.js 0 main STP
<deliverydir>/pccs/services/logic/commonCacheLogic.js <installdir>/services/logic/commonCacheLogic.js 0 main STP
Expand All @@ -73,3 +78,4 @@ DeliveryName InstallName FileCheckSum FileFeature FileOwner
<deliverydir>/pccs/startup.sh <installdir>/startup.sh 0 main STP
<deliverydir>/pccs/cleanup.sh <installdir>/cleanup.sh 0 main STP
<deliverydir>/pccs/README.md <installdir>/README.md 0 main STP
<deliverydir>/pccs/nodejs.cnf <installdir>/nodejs.cnf 0 main STP
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DeliveryName InstallName FileCheckSum FileFeature FileOwner
<deliverydir>/installer/linux/common/tee-appraisal-tool/installConfig <installdir>/installConfig 0 main STP
<deliverydir>/installer/linux/common/tee-appraisal-tool/Makefile <installdir>/Makefile 0 main STP
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DeliveryName InstallName FileCheckSum FileFeature FileOwner
<deliverydir>/build/linux/tee_appraisal_tool <installdir>/bin/tee_appraisal_tool 0 main STP
40 changes: 40 additions & 0 deletions QuoteGeneration/installer/linux/common/tee-appraisal-tool/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#
# Copyright (C) 2011-2021 Intel Corporation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# * Neither the name of Intel Corporation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#

include installConfig

USR_BIN_PATH=/usr/$(BIN_DIR)

default:

install:
install -d $(DESTDIR)/$(USR_BIN_PATH)
install ${BIN_DIR}/* $(DESTDIR)/$(USR_BIN_PATH)
Loading

0 comments on commit f2bf3c4

Please sign in to comment.