You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 7, 2024. It is now read-only.
$CS_PYTHON"${QDK_SCRIPTS_DIR}/codesigning_qpkg.py" cwd="`pwd`" buildpath=$build_dir csv="${QNAP_CODE_SIGNING_CSV}" server=${QNAP_CODE_SIGNING_SERVER_IP}:${QNAP_CODE_SIGNING_SERVER_PORT}| tee -a code_signing.log
525
-
if [ $?!= 0 ];then
526
-
err_msg "$QDK_QPKG_FILE: Failed to add anti-tamper support"
524
+
if [ "$QNAP_CODE_SIGNING_SERVER_IP"="172.17.21.68" ];then
525
+
msg "$QPKG_NAME: Do not used 172.17.21.68:5000 anymore. Please use codesigning.qnap.com.tw:5001. You also need to check the DNS setting on your build environment so that codesigning.qnap.com.tw can be resolved properly"
$CS_PYTHON"${QDK_SCRIPTS_DIR}/codesigning_qpkg.py" cwd="`pwd`" buildpath=$build_dir csv="${QNAP_CODE_SIGNING_CSV}" server=${QNAP_CODE_SIGNING_SERVER_IP}:${QNAP_CODE_SIGNING_SERVER_PORT}2>&1| tee -a code_signing.log
530
+
if [ ${PIPESTATUS[0]}!= 0 ];then
531
+
err_msg "$QPKG_NAME: Failed to add anti-tamper support"
527
532
fi
528
533
}
529
534
@@ -934,6 +939,11 @@ add_qpkg_signature(){
934
939
verbose_msg "Connecting to code signing server to create digital signature..."
if [ "$QNAP_CODE_SIGNING_SERVER_IP"="172.17.21.68" ];then
943
+
msg "$QPKG_NAME: Do not used 172.17.21.68:5000 anymore. Please use codesigning.qnap.com.tw:5001. You also need to check the DNS setting on your build environment so that codesigning.qnap.com.tw can be resolved properly"
[ -n"$QPKG_NAME" ] || err_msg "$code_signing_cfg: QPKG_NAME not provided"
1617
1627
[ -n"$QPKG_VER" ] || err_msg "$code_signing_cfg: QPKG_VER not provided"
1628
+
if [ "$QNAP_CODE_SIGNING_SERVER_IP"="172.17.21.68" ];then
1629
+
msg "$QPKG_NAME: Do not used 172.17.21.68:5000 anymore. Please use codesigning.qnap.com.tw:5001. You also need to check the DNS setting on your build environment so that codesigning.qnap.com.tw can be resolved properly"
verbose_msg "Connecting to code signing server to create digital signature..."
1642
1657
$CS_PYTHON"${QDK_SCRIPTS_DIR}/codesigning_qpkg_cms.py" server=${QNAP_CODE_SIGNING_SERVER_IP}:${QNAP_CODE_SIGNING_SERVER_PORT} qpkgname=${QPKG_NAME} version=${QPKG_VER} in="${qpkg}.sha" out="${qpkg}.msg"2>&1| tee -a code_signing.log
1643
1658
else
1644
1659
# 3rd party, not connected to server, sign using local certificate and private key
1645
1660
verbose_msg "Creating code signing digital signature..."
if [ "$QNAP_CODE_SIGNING_SERVER_IP"="172.17.21.68" ];then
1707
+
msg "$QPKG_NAME: Do not used 172.17.21.68:5000 anymore. Please use codesigning.qnap.com.tw:5001. You also need to check the DNS setting on your build environment so that codesigning.qnap.com.tw can be resolved properly"
0 commit comments