summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2018-06-18 16:28:09 -0700
committerMicah Lee <micah@micahflee.com>2018-06-18 16:28:09 -0700
commit2ad1f77f91748d3ba0a9efb1e4892448413d4c21 (patch)
treedc679d0c3d0cad96b9347c6e42dde42887d31901
parent0626c2b6c3b99b8c9566f225581ecef20826d83e (diff)
downloadonionshare-2ad1f77f91748d3ba0a9efb1e4892448413d4c21.tar.gz
onionshare-2ad1f77f91748d3ba0a9efb1e4892448413d4c21.zip
Remove the /fd sha256 from signtool.exe command, because I'm having trouble generating signatures with the smart card setup with sha256 digestsv1.3.1
-rw-r--r--install/build_exe.bat4
-rw-r--r--install/onionshare.nsi2
2 files changed, 3 insertions, 3 deletions
diff --git a/install/build_exe.bat b/install/build_exe.bat
index 6c49c7d8..ba626fa2 100644
--- a/install/build_exe.bat
+++ b/install/build_exe.bat
@@ -8,10 +8,10 @@ REM download tor
python install\get-tor-windows.py
REM sign onionshare-gui.exe
-signtool.exe sign /v /d "OnionShare" /a /tr http://time.certum.pl/ /fd sha256 dist\onionshare\onionshare-gui.exe
+signtool.exe sign /v /d "OnionShare" /a /tr http://time.certum.pl/ dist\onionshare\onionshare-gui.exe
REM build an installer, dist\onionshare-setup.exe
makensis.exe install\onionshare.nsi
REM sign onionshare-setup.exe
-signtool.exe sign /v /d "OnionShare" /a /tr http://time.certum.pl/ /fd sha256 dist\onionshare-setup.exe
+signtool.exe sign /v /d "OnionShare" /a /tr http://time.certum.pl/ dist\onionshare-setup.exe
diff --git a/install/onionshare.nsi b/install/onionshare.nsi
index 0d4a22c1..279f4803 100644
--- a/install/onionshare.nsi
+++ b/install/onionshare.nsi
@@ -39,7 +39,7 @@ ${EndIf}
!echo "Creating normal installer"
!system "makensis.exe /DINNER onionshare.nsi" = 0
!system "$%TEMP%\tempinstaller.exe" = 2
- !system "signtool.exe sign /v /d $\"Uninstall OnionShare$\" /a /tr http://time.certum.pl/ /fd sha256 $%TEMP%\uninstall.exe" = 0
+ !system "signtool.exe sign /v /d $\"Uninstall OnionShare$\" /a /tr http://time.certum.pl/ $%TEMP%\uninstall.exe" = 0
# all done, now we can build the real installer
OutFile "..\dist\onionshare-setup.exe"