fix: SDA-1749: Enable code signing for third party binaries (#874)

* SDA-1749: add all binaries for signing

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: add hardened run time attribute

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: reformat package.json

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: add echo for copying libraries

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: codesign exec files manually

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: codesign exec files with hardened runtime

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>

* SDA-1749: codesign exec files with hardened runtime

Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
This commit is contained in:
Vishwas Shashidhar
2020-02-13 23:41:16 +05:30
committed by GitHub
parent 650b2613e5
commit 284ec984e6
4 changed files with 20 additions and 5 deletions
+5
View File
@@ -65,8 +65,13 @@ if [ ! -d "$HOME/tronlibraries/library" ]; then
echo 'Search libraries do not exist! Not building with swift search' >&2
else
cp -r "$HOME/tronlibraries/library" .
echo 'Copied search libraries'
ls -lrth $HOME/tronlibraries/library
fi
codesign --force --options runtime -s "Developer ID Application: Symphony Communication Services LLC" library/lz4.exec
codesign --force --options runtime -s "Developer ID Application: Symphony Communication Services LLC" library/indexvalidator.exec
PKG_VERSION=$(node -e "console.log(require('./package.json').version);")
# Install app dependencies