Windows Setup: rename installers signed with SHA-1 to "VeraCrypt Legacy" and key "VeraCrypt" name for installers signed only with SHA-256

This commit is contained in:
Mounir IDRASSI 2020-07-22 23:53:13 +02:00
parent b6b6710d2b
commit 09b8ae1775
No known key found for this signature in database
GPG Key ID: 02C30AE90FAE4A6F

View File

@ -65,4 +65,7 @@ timeout /t 10
rem sign using SHA-256
signtool sign /v /sha1 04141E4EA6D9343CEC994F6C099DC09BDD8937C9 /ac GlobalSign_SHA256_EV_CodeSigning_CA.cer /as /fd sha256 /tr http://rfc3161timestamp.globalsign.com/advanced /td SHA256 "..\Release\Setup Files\VeraCrypt Setup %VC_VERSION%.exe" "..\Release\Setup Files\VeraCrypt Portable %VC_VERSION%.exe"
move "..\Release\Setup Files\VeraCrypt Setup %VC_VERSION%.exe" "..\Release\Setup Files\VeraCrypt Legacy Setup %VC_VERSION%.exe"
move "..\Release\Setup Files\VeraCrypt Portable %VC_VERSION%.exe" "..\Release\Setup Files\VeraCrypt Legacy Portable %VC_VERSION%.exe"
pause