Skip to content

Commit

Permalink
sign native dll with correct cert (#21854)
Browse files Browse the repository at this point in the history
### Description
Fixed #21775



### Motivation and Context
The dlls should be signed with Keycode CP-230012.
The default is the test code sign.
  • Loading branch information
mszhanyi authored and prathikr committed Aug 26, 2024
1 parent d651463 commit 7ca73dc
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions tools/ci_build/github/azure-pipelines/templates/win-esrp-dll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,38 @@ steps:
AuthAKVName: 'buildkeyvault'
AuthCertName: '53d54d02-SSL-AutoRotate'
AuthSignCertName: '53d54d02-978d-4305-8572-583cf6711c4f'
signConfigType: inlineSignParams
inlineOperation: |
[
{
"keyCode": "CP-230012",
"operationSetCode": "SigntoolSign",
"parameters": [
{
"parameterName": "OpusName",
"parameterValue": "Microsoft"
},
{
"parameterName": "OpusInfo",
"parameterValue": "http://www.microsoft.com"
},
{
"parameterName": "PageHash",
"parameterValue": "/NPH"
},
{
"parameterName": "FileDigest",
"parameterValue": "/fd sha256"
},
{
"parameterName": "TimeStamp",
"parameterValue": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
}
],
"toolName": "signtool.exe",
"toolVersion": "6.2.9304.0"
}
]
FolderPath: ${{ parameters.FolderPath }}
Pattern: ${{ parameters.Pattern }}
Expand Down

0 comments on commit 7ca73dc

Please sign in to comment.