From ae69a754244c4e475c8d2591772ca8e005071d83 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 18 Feb 2019 11:55:41 +0100 Subject: Update to 5.42 --- OSX/sparkle-bin/BinaryDelta | Bin 0 -> 173948 bytes .../BinaryDelta.dSYM/Contents/Info.plist | 20 +++++++++++++++++ .../Contents/Resources/DWARF/BinaryDelta | Bin 0 -> 2245543 bytes OSX/sparkle-bin/generate_appcast | Bin 0 -> 9904192 bytes .../generate_appcast.dSYM/Contents/Info.plist | 20 +++++++++++++++++ .../Contents/Resources/DWARF/generate_appcast | Bin 0 -> 5953211 bytes OSX/sparkle-bin/generate_keys | Bin 0 -> 9556400 bytes .../generate_keys.dSYM/Contents/Info.plist | 20 +++++++++++++++++ .../Contents/Resources/DWARF/generate_keys | Bin 0 -> 5388236 bytes .../generate_dsa_keys_macos_10.12_only | 24 +++++++++++++++++++++ OSX/sparkle-bin/old_dsa_scripts/sign_update | 18 ++++++++++++++++ OSX/sparkle-bin/sign_update | Bin 0 -> 9785400 bytes .../sign_update.dSYM/Contents/Info.plist | 20 +++++++++++++++++ .../Contents/Resources/DWARF/sign_update | Bin 0 -> 3891842 bytes 14 files changed, 122 insertions(+) create mode 100755 OSX/sparkle-bin/BinaryDelta create mode 100644 OSX/sparkle-bin/BinaryDelta.dSYM/Contents/Info.plist create mode 100644 OSX/sparkle-bin/BinaryDelta.dSYM/Contents/Resources/DWARF/BinaryDelta create mode 100755 OSX/sparkle-bin/generate_appcast create mode 100644 OSX/sparkle-bin/generate_appcast.dSYM/Contents/Info.plist create mode 100644 OSX/sparkle-bin/generate_appcast.dSYM/Contents/Resources/DWARF/generate_appcast create mode 100755 OSX/sparkle-bin/generate_keys create mode 100644 OSX/sparkle-bin/generate_keys.dSYM/Contents/Info.plist create mode 100644 OSX/sparkle-bin/generate_keys.dSYM/Contents/Resources/DWARF/generate_keys create mode 100755 OSX/sparkle-bin/old_dsa_scripts/generate_dsa_keys_macos_10.12_only create mode 100755 OSX/sparkle-bin/old_dsa_scripts/sign_update create mode 100755 OSX/sparkle-bin/sign_update create mode 100644 OSX/sparkle-bin/sign_update.dSYM/Contents/Info.plist create mode 100644 OSX/sparkle-bin/sign_update.dSYM/Contents/Resources/DWARF/sign_update (limited to 'OSX/sparkle-bin') diff --git a/OSX/sparkle-bin/BinaryDelta b/OSX/sparkle-bin/BinaryDelta new file mode 100755 index 0000000..de7acd7 Binary files /dev/null and b/OSX/sparkle-bin/BinaryDelta differ diff --git a/OSX/sparkle-bin/BinaryDelta.dSYM/Contents/Info.plist b/OSX/sparkle-bin/BinaryDelta.dSYM/Contents/Info.plist new file mode 100644 index 0000000..325809b --- /dev/null +++ b/OSX/sparkle-bin/BinaryDelta.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.xcode.dsym.BinaryDelta + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + dSYM + CFBundleSignature + ???? + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/OSX/sparkle-bin/BinaryDelta.dSYM/Contents/Resources/DWARF/BinaryDelta b/OSX/sparkle-bin/BinaryDelta.dSYM/Contents/Resources/DWARF/BinaryDelta new file mode 100644 index 0000000..302129c Binary files /dev/null and b/OSX/sparkle-bin/BinaryDelta.dSYM/Contents/Resources/DWARF/BinaryDelta differ diff --git a/OSX/sparkle-bin/generate_appcast b/OSX/sparkle-bin/generate_appcast new file mode 100755 index 0000000..cffaded Binary files /dev/null and b/OSX/sparkle-bin/generate_appcast differ diff --git a/OSX/sparkle-bin/generate_appcast.dSYM/Contents/Info.plist b/OSX/sparkle-bin/generate_appcast.dSYM/Contents/Info.plist new file mode 100644 index 0000000..85e4783 --- /dev/null +++ b/OSX/sparkle-bin/generate_appcast.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.xcode.dsym.generate_appcast + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + dSYM + CFBundleSignature + ???? + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/OSX/sparkle-bin/generate_appcast.dSYM/Contents/Resources/DWARF/generate_appcast b/OSX/sparkle-bin/generate_appcast.dSYM/Contents/Resources/DWARF/generate_appcast new file mode 100644 index 0000000..da66605 Binary files /dev/null and b/OSX/sparkle-bin/generate_appcast.dSYM/Contents/Resources/DWARF/generate_appcast differ diff --git a/OSX/sparkle-bin/generate_keys b/OSX/sparkle-bin/generate_keys new file mode 100755 index 0000000..9b4bf11 Binary files /dev/null and b/OSX/sparkle-bin/generate_keys differ diff --git a/OSX/sparkle-bin/generate_keys.dSYM/Contents/Info.plist b/OSX/sparkle-bin/generate_keys.dSYM/Contents/Info.plist new file mode 100644 index 0000000..3caf890 --- /dev/null +++ b/OSX/sparkle-bin/generate_keys.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.xcode.dsym.generate_keys + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + dSYM + CFBundleSignature + ???? + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/OSX/sparkle-bin/generate_keys.dSYM/Contents/Resources/DWARF/generate_keys b/OSX/sparkle-bin/generate_keys.dSYM/Contents/Resources/DWARF/generate_keys new file mode 100644 index 0000000..ff7be52 Binary files /dev/null and b/OSX/sparkle-bin/generate_keys.dSYM/Contents/Resources/DWARF/generate_keys differ diff --git a/OSX/sparkle-bin/old_dsa_scripts/generate_dsa_keys_macos_10.12_only b/OSX/sparkle-bin/old_dsa_scripts/generate_dsa_keys_macos_10.12_only new file mode 100755 index 0000000..56f195f --- /dev/null +++ b/OSX/sparkle-bin/old_dsa_scripts/generate_dsa_keys_macos_10.12_only @@ -0,0 +1,24 @@ +#!/bin/bash +set -e +for file in "dsaparam.pem" "dsa_priv.pem" "dsa_pub.pem"; do + if [ -e "$file" ]; then + echo "There's already a $file here! Move it aside or be more careful!" + exit 1 + fi +done + +openssl="/usr/bin/openssl" +$openssl gendsa <($openssl dsaparam 2047) -out dsa_priv.pem +chmod 0400 dsa_priv.pem +$openssl dsa -in dsa_priv.pem -pubout -out dsa_pub.pem + +echo " +Generated two files: +dsa_priv.pem: your private key. Keep it secret and don't share it! +dsa_pub.pem: public counterpart to include in the app bundle. + +BACK UP YOUR PRIVATE KEY AND KEEP IT SAFE! +If you lose it, your users will be unable to upgrade! +" + +open -R dsa_priv.pem diff --git a/OSX/sparkle-bin/old_dsa_scripts/sign_update b/OSX/sparkle-bin/old_dsa_scripts/sign_update new file mode 100755 index 0000000..fddaae8 --- /dev/null +++ b/OSX/sparkle-bin/old_dsa_scripts/sign_update @@ -0,0 +1,18 @@ +#!/bin/bash +set -e +set -o pipefail +if [ "$#" -ne 2 ]; then + echo "Usage: $0 update_archive_file dsa_priv.pem" + echo "This is an old DSA signing script for deprecated DSA keys." + echo "Do not use this for new applications." + exit 1 +fi +openssl=/usr/bin/openssl +version=`$openssl version` +if [[ $version =~ "OpenSSL 0.9" ]]; then + # pre-10.13 system: Fall back to OpenSSL DSS1 digest because it does not like the -sha1 option + $openssl dgst -sha1 -binary < "$1" | $openssl dgst -dss1 -sign "$2" | $openssl enc -base64 +else + # 10.13 and later: Use LibreSSL SHA1 digest + $openssl dgst -sha1 -binary < "$1" | $openssl dgst -sha1 -sign "$2" | $openssl enc -base64 +fi diff --git a/OSX/sparkle-bin/sign_update b/OSX/sparkle-bin/sign_update new file mode 100755 index 0000000..b97e4bd Binary files /dev/null and b/OSX/sparkle-bin/sign_update differ diff --git a/OSX/sparkle-bin/sign_update.dSYM/Contents/Info.plist b/OSX/sparkle-bin/sign_update.dSYM/Contents/Info.plist new file mode 100644 index 0000000..0739389 --- /dev/null +++ b/OSX/sparkle-bin/sign_update.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.xcode.dsym.sign_update + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + dSYM + CFBundleSignature + ???? + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/OSX/sparkle-bin/sign_update.dSYM/Contents/Resources/DWARF/sign_update b/OSX/sparkle-bin/sign_update.dSYM/Contents/Resources/DWARF/sign_update new file mode 100644 index 0000000..67f19b4 Binary files /dev/null and b/OSX/sparkle-bin/sign_update.dSYM/Contents/Resources/DWARF/sign_update differ -- cgit v1.2.3-55-g7522