mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Change: Verify the signatures of the signed files with signtool verify
This commit is contained in:
parent
b79113c1c5
commit
4abd4720be
1 changed files with 9 additions and 0 deletions
|
@ -8,9 +8,15 @@ python .\setup-windows.py build
|
||||||
REM code sign dangerzone.exe
|
REM code sign dangerzone.exe
|
||||||
signtool.exe sign /v /d "Dangerzone" /a /n "Freedom of the Press Foundation" /fd sha256 /t http://time.certum.pl/ build\exe.win-amd64-3.12\dangerzone.exe
|
signtool.exe sign /v /d "Dangerzone" /a /n "Freedom of the Press Foundation" /fd sha256 /t http://time.certum.pl/ build\exe.win-amd64-3.12\dangerzone.exe
|
||||||
|
|
||||||
|
REM verify the signature of dangerzone.exe
|
||||||
|
signtool.exe verify /pa build\exe.win-amd64-3.12\dangerzone.exe
|
||||||
|
|
||||||
REM code sign dangerzone-cli.exe
|
REM code sign dangerzone-cli.exe
|
||||||
signtool.exe sign /v /d "Dangerzone" /a /n "Freedom of the Press Foundation" /fd sha256 /t http://time.certum.pl/ build\exe.win-amd64-3.12\dangerzone-cli.exe
|
signtool.exe sign /v /d "Dangerzone" /a /n "Freedom of the Press Foundation" /fd sha256 /t http://time.certum.pl/ build\exe.win-amd64-3.12\dangerzone-cli.exe
|
||||||
|
|
||||||
|
REM verify the signature of dangerzone-cli.exe
|
||||||
|
signtool.exe verify /pa build\exe.win-amd64-3.12\dangerzone-cli.exe
|
||||||
|
|
||||||
REM build the wix file
|
REM build the wix file
|
||||||
python install\windows\build-wxs.py > build\Dangerzone.wxs
|
python install\windows\build-wxs.py > build\Dangerzone.wxs
|
||||||
|
|
||||||
|
@ -23,6 +29,9 @@ REM code sign Dangerzone.msi
|
||||||
insignia.exe -im Dangerzone.msi
|
insignia.exe -im Dangerzone.msi
|
||||||
signtool.exe sign /v /d "Dangerzone" /a /n "Freedom of the Press Foundation" /fd sha256 /t http://time.certum.pl/ Dangerzone.msi
|
signtool.exe sign /v /d "Dangerzone" /a /n "Freedom of the Press Foundation" /fd sha256 /t http://time.certum.pl/ Dangerzone.msi
|
||||||
|
|
||||||
|
REM verify the signature of Dangerzone.msi
|
||||||
|
signtool.exe verify /pa Dangerzone.msi
|
||||||
|
|
||||||
REM moving Dangerzone.msi to dist
|
REM moving Dangerzone.msi to dist
|
||||||
cd ..
|
cd ..
|
||||||
mkdir dist
|
mkdir dist
|
||||||
|
|
Loading…
Reference in a new issue