binaries: use sha256 instead of sha1 for Windows native signing scheme

- our new key now supports both
- note that we don't bother to "dual sign" for both sha1 and sha2, as
  Win7 upwards sha2 is supported (and we already don't support XP, Vista, etc anymore)
This commit is contained in:
SomberNight 2020-06-24 20:23:06 +02:00
parent d7fe6a2cf3
commit c2111a2616
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9

View File

@ -23,6 +23,7 @@ echo "Found $(ls *.exe | wc -w) files to sign."
for f in $(ls *.exe); do
echo "Signing $f..."
osslsigncode sign \
-h sha256 \
-certs "$CERT_FILE" \
-key "$KEY_FILE" \
-n "Electrum" \