From 9a2a62e641c65423b6116d4a352eecb5fc165c7c Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Wed, 1 Nov 2017 16:14:25 +0100 Subject: [PATCH] fixed codesigning of opensc tools --- MacOSX/build-package.in | 6 +++--- MacOSX/opensc.entitlements | 8 ++++++++ 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 MacOSX/opensc.entitlements diff --git a/MacOSX/build-package.in b/MacOSX/build-package.in index bb832cc6..5611b740 100755 --- a/MacOSX/build-package.in +++ b/MacOSX/build-package.in @@ -134,9 +134,9 @@ else # Build and copy OpenSCTokenApp xcodebuild -target OpenSCTokenApp -configuration Release -project OpenSCToken/OpenSCTokenApp.xcodeproj install DSTROOT=${BUILDPATH}/target - #codesign --sign "$SIGNING_IDENTITY" --force --entitlements OpenSCToken/OpenSCToken/opensctoken.entitlements target/Library/OpenSC/bin/* - #codesign --sign "$SIGNING_IDENTITY" --force --entitlements OpenSCToken/OpenSCToken/opensctoken.entitlements target/Library/OpenSC/lib/*.dylib - #codesign --sign "$SIGNING_IDENTITY" --force --entitlements OpenSCToken/OpenSCToken/opensctoken.entitlements --deep target/Library/OpenSC/lib/opensc-pkcs11.bundle + codesign --sign "$SIGNING_IDENTITY" --force --entitlements MacOSX/opensc.entitlements target/Library/OpenSC/bin/* + codesign --sign "$SIGNING_IDENTITY" --force --entitlements MacOSX/opensc.entitlements target/Library/OpenSC/lib/*.dylib + codesign --sign "$SIGNING_IDENTITY" --force --entitlements MacOSX/opensc.entitlements --deep target/Library/OpenSC/lib/opensc-pkcs11.bundle fi # Prepare target root diff --git a/MacOSX/opensc.entitlements b/MacOSX/opensc.entitlements new file mode 100644 index 00000000..0eecdb30 --- /dev/null +++ b/MacOSX/opensc.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.smartcard + + +