mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Enable signing of nuget.org packages and update to supported timestamp server (GH-23132)
This commit is contained in:
parent
bffb137cb5
commit
db6434c474
5 changed files with 17 additions and 8 deletions
|
@ -37,11 +37,11 @@ function Sign-File {
|
|||
|
||||
foreach ($a in $files) {
|
||||
if ($certsha1) {
|
||||
SignTool sign /sha1 $certsha1 /fd sha256 /t http://timestamp.verisign.com/scripts/timestamp.dll /d $description $a
|
||||
SignTool sign /sha1 $certsha1 /fd sha256 /tr http://timestamp.digicert.com/ /td sha256 /d $description $a
|
||||
} elseif ($certname) {
|
||||
SignTool sign /a /n $certname /fd sha256 /t http://timestamp.verisign.com/scripts/timestamp.dll /d $description $a
|
||||
SignTool sign /a /n $certname /fd sha256 /tr http://timestamp.digicert.com/ /td sha256 /d $description $a
|
||||
} elseif ($certfile) {
|
||||
SignTool sign /f $certfile /fd sha256 /t http://timestamp.verisign.com/scripts/timestamp.dll /d $description $a
|
||||
SignTool sign /f $certfile /fd sha256 /tr http://timestamp.digicert.com/ /td sha256 /d $description $a
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue