File tree 2 files changed +2
-11
lines changed
common/crypto/attestation-api
2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ set(CMAKE_CXX_EXTENSIONS OFF)
12
12
13
13
INCLUDE (CMakeVariables.txt)
14
14
15
- # get the tag of the dcap primitives (necessary to manage library links)
16
- EXECUTE_PROCESS (COMMAND bash -c "cd $ENV{DCAP_PRIMITIVES} && git describe --tags" OUTPUT_VARIABLE DCAP_PRIMITIVES_TAG)
17
- STRING (STRIP ${DCAP_PRIMITIVES_TAG} DCAP_PRIMITIVES_TAG)
18
-
19
15
###################################################################################################
20
16
# First run cmake in common
21
17
###################################################################################################
@@ -99,9 +95,7 @@ ADD_CUSTOM_COMMAND(TARGET ${B64ATTESTATION_TO_B64COLLATERAL}
99
95
100
96
TARGET_INCLUDE_DIRECTORIES (${B64ATTESTATION_TO_B64COLLATERAL} PRIVATE common)
101
97
102
- IF ("${DCAP_PRIMITIVES_TAG} " STREQUAL "DCAP_1.22" )
103
- SET (DCAP_LINK_LIBS ${DCAP_QV_PATH} /appraisal/qal/libdcap_qal.a)
104
- ENDIF ()
98
+ SET (DCAP_LINK_LIBS ${DCAP_QV_PATH} /appraisal/qal/libdcap_qal.a)
105
99
106
100
TARGET_LINK_LIBRARIES (${B64ATTESTATION_TO_B64COLLATERAL}
107
101
#${DCAP_QV_PATH}/dcap_quoteverify/linux/libsgx_dcap_quoteverify.a
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ RUN apt-get install -y \
106
106
libsgx-dcap-default-qpl-dev \
107
107
jq
108
108
109
- ARG DCAP=1.19
109
+ ARG DCAP=1.22
110
110
ENV DCAP_PRIMITIVES=/tmp/SGXDataCenterAttestationPrimitives
111
111
112
112
RUN git clone https://github.com/intel/SGXDataCenterAttestationPrimitives.git ${DCAP_PRIMITIVES} \
@@ -146,7 +146,4 @@ RUN useradd -m -u $UID -g $GID -d /project/pdo -o -s /bin/bash $UNAME
146
146
RUN chown --recursive $UNAME:$UNAME /project/pdo
147
147
USER $UNAME
148
148
149
- # this is necessary for git operations such as "git describe --tags" from the new user
150
- RUN git config --global --add safe.directory ${DCAP_PRIMITIVES}
151
-
152
149
ENTRYPOINT ["/bin/bash" ]
You can’t perform that action at this time.
0 commit comments