Changed to RFC3161 time-stamping and forced SHA1 digest to support Vista
This commit is contained in:
parent
0c2e666d0f
commit
8e2a3860e3
@ -1 +1 @@
|
||||
Subproject commit 977949addd87ca9a03e1483a59b5bb35de45e1d0
|
||||
Subproject commit 576b84d74ddbadc7fe8de58f5adca40cc5fcdaf1
|
@ -23,7 +23,7 @@ In order to have the build process digitally sign output files, one should provi
|
||||
1. A signing certificate installed in the current user's certificate store.
|
||||
2. The following variables in the environment:
|
||||
- `ManifestCertificateThumbprint` - set the value to certificate's SHA1 thumbprint (hexadecimal, without spaces, i.e. `bc0d8da45f9eeefcbe4e334e1fc262804df88d7e`).
|
||||
- `ManifestTimestampUrl` - set the value to URL used to perform timestamp signature (i.e. `http://timestamp.verisign.com/scripts/timstamp.dll`). In order to perform timestamp signing successfully, the computer running the build should be online and able to access this URL.
|
||||
- `ManifestTimestampRFC3161Url` - set the value to URL used to perform RFC3161 timestamp signing (i.e. `http://sha1timestamp.ws.symantec.com/sha1/timestamp`). In order to perform timestamp signing successfully, the computer running the build should be online and able to access this URL.
|
||||
|
||||
Please note that only Release builds are configured for timestamp signing. Debug configurations do not attempt to timestamp sign the resulting DLL and EXE files in order to speed up the building process and enable offline building.
|
||||
|
||||
|
@ -67,7 +67,7 @@
|
||||
Reverted to signtool.exe until we can drop Windows XP and Vista support.
|
||||
-->
|
||||
<!--<SignFile CertificateThumbprint="$(ManifestCertificateThumbprint)" TimestampUrl="$(ManifestTimestampUrl)" SigningTarget="$(OutDir)$(TargetName)$(TargetExt)" />-->
|
||||
<Exec Command="signtool.exe sign /du "http://www.amebis.si" /sha1 "%ManifestCertificateThumbprint%" /fd sha1 /t "%ManifestTimestampUrl%" /q "$(TargetPath)"" />
|
||||
<Exec Command="signtool.exe sign /du "http://www.amebis.si" /sha1 "%ManifestCertificateThumbprint%" /fd sha1 /tr "%ManifestTimestampRFC3161Url%" /q "$(TargetPath)"" />
|
||||
<Touch Files="$(IntDir)$(TargetName).sign" AlwaysCreate="true" />
|
||||
</Target>
|
||||
</Project>
|
Loading…
x
Reference in New Issue
Block a user