From: Michael Schuster Date: Sun, 17 Nov 2019 16:50:52 +0000 (+0100) Subject: Add timestamp to Mac installer code signing X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~538^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3b5966bba00ef7000e7cd6ee9a7735789adf26a0;p=nextcloud-desktop.git Add timestamp to Mac installer code signing Use the --timestamp option for 'productsign' to add a secure timestamp. See: https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/resolving_common_notarization_issues Signed-off-by: Michael Schuster --- diff --git a/admin/osx/create_mac.sh.cmake b/admin/osx/create_mac.sh.cmake index 40b3e5796..b15405c1d 100755 --- a/admin/osx/create_mac.sh.cmake +++ b/admin/osx/create_mac.sh.cmake @@ -49,7 +49,7 @@ fi if [ ! -z "$identity" ]; then echo "Will try to sign the installer" pushd $install_path - productsign --sign "$identity" "$installer_file" "$installer_file.new" + productsign --timestamp --sign "$identity" "$installer_file" "$installer_file.new" mv "$installer_file".new "$installer_file" popd else