@@ -51,17 +51,16 @@ steps:
5151 diagnosticsEnabled : True
5252
5353- ${{ if eq(parameters.configuration, 'Release') }} :
54- - task : PowerShell@2
55- displayName : ' Download Strong Name certificate'
56- enabled : false
57- inputs :
58- targetType : ' inline'
59- script : |
60- # Get signing certificate
61- $CertOutFile = Join-Path -Path $env:BUILD_SOURCESDIRECTORY -ChildPath build\dotnet\src\SEALNetCert.snk
62- if (Test-Path env:SEALNetSigningCertificate) {
63- Invoke-WebRequest -Uri "$env:SEALNetSigningCertificate" -OutFile $CertOutFile
64- }
54+ # - task: PowerShell@2
55+ # displayName: 'Download Strong Name certificate'
56+ # inputs:
57+ # targetType: 'inline'
58+ # script: |
59+ # # Get signing certificate
60+ # $CertOutFile = Join-Path -Path $env:BUILD_SOURCESDIRECTORY -ChildPath build\dotnet\src\SEALNetCert.snk
61+ # if (Test-Path env:SEALNetSigningCertificate) {
62+ # Invoke-WebRequest -Uri "$env:SEALNetSigningCertificate" -OutFile $CertOutFile
63+ # }
6564
6665- task : NuGetCommand@2
6766 displayName : ' NuGet restore from Solution'
@@ -114,153 +113,148 @@ steps:
114113 PublishSymbols : false
115114 continueOnError : true
116115
117- - task : SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
118- displayName : ' ESRP Add Strong Name'
119- enabled : false
120- inputs :
121- ConnectedServiceName : ' ESRP CodeSigning'
122- FolderPath : build/bin/dotnet/${{ parameters.configuration }}/net8.0
123- Pattern : ' *.dll'
124- signConfigType : inlineSignParams
125- inlineOperation : |
126- [
127- {
128- "KeyCode" : "CP-235845-SN",
129- "OperationCode" : "StrongNameSign",
130- "Parameters" : {},
131- "ToolName" : "sign",
132- "ToolVersion" : "1.0"
133- },
134- {
135- "KeyCode" : "CP-235845-SN",
136- "OperationCode" : "StrongNameVerify",
137- "Parameters" : {},
138- "ToolName" : "sign",
139- "ToolVersion" : "1.0"
140- }
141- ]
116+ # - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
117+ # displayName: 'ESRP Add Strong Name'
118+ # inputs:
119+ # ConnectedServiceName: 'ESRP CodeSigning'
120+ # FolderPath: build/bin/dotnet/${{ parameters.configuration }}/net8.0
121+ # Pattern: '*.dll'
122+ # signConfigType: inlineSignParams
123+ # inlineOperation: |
124+ # [
125+ # {
126+ # "KeyCode" : "CP-235845-SN",
127+ # "OperationCode" : "StrongNameSign",
128+ # "Parameters" : {},
129+ # "ToolName" : "sign",
130+ # "ToolVersion" : "1.0"
131+ # },
132+ # {
133+ # "KeyCode" : "CP-235845-SN",
134+ # "OperationCode" : "StrongNameVerify",
135+ # "Parameters" : {},
136+ # "ToolName" : "sign",
137+ # "ToolVersion" : "1.0"
138+ # }
139+ # ]
142140
143- - task : SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
144- displayName : ' ESRP Add Strong Name to iOS assembly'
145- enabled : false
146- inputs :
147- ConnectedServiceName : ' ESRP CodeSigning'
148- FolderPath : build/bin/dotnet/${{ parameters.configuration }}/net8.0-ios
149- Pattern : ' *.dll'
150- signConfigType : inlineSignParams
151- inlineOperation : |
152- [
153- {
154- "KeyCode" : "CP-235845-SN",
155- "OperationCode" : "StrongNameSign",
156- "Parameters" : {},
157- "ToolName" : "sign",
158- "ToolVersion" : "1.0"
159- },
160- {
161- "KeyCode" : "CP-235845-SN",
162- "OperationCode" : "StrongNameVerify",
163- "Parameters" : {},
164- "ToolName" : "sign",
165- "ToolVersion" : "1.0"
166- }
167- ]
141+ # - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
142+ # displayName: 'ESRP Add Strong Name to iOS assembly'
143+ # inputs:
144+ # ConnectedServiceName: 'ESRP CodeSigning'
145+ # FolderPath: build/bin/dotnet/${{ parameters.configuration }}/net8.0-ios
146+ # Pattern: '*.dll'
147+ # signConfigType: inlineSignParams
148+ # inlineOperation: |
149+ # [
150+ # {
151+ # "KeyCode" : "CP-235845-SN",
152+ # "OperationCode" : "StrongNameSign",
153+ # "Parameters" : {},
154+ # "ToolName" : "sign",
155+ # "ToolVersion" : "1.0"
156+ # },
157+ # {
158+ # "KeyCode" : "CP-235845-SN",
159+ # "OperationCode" : "StrongNameVerify",
160+ # "Parameters" : {},
161+ # "ToolName" : "sign",
162+ # "ToolVersion" : "1.0"
163+ # }
164+ # ]
168165
169- - task : SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
170- displayName : ' ESRP CodeSigning'
171- enabled : false
172- inputs :
173- ConnectedServiceName : ' ESRP CodeSigning'
174- FolderPath : build/bin/dotnet/${{ parameters.configuration }}/net8.0
175- Pattern : ' *.dll'
176- signConfigType : inlineSignParams
177- inlineOperation : |
178- [
179- {
180- "KeyCode": "CP-230012",
181- "OperationCode": "SigntoolSign",
182- "Parameters": {
183- "OpusName": "Microsoft.Research.SEAL",
184- "OpusInfo": "https://github.com/microsoft/SEAL",
185- "FileDigest": "/fd \"SHA256\"",
186- "PageHash": "/PH",
187- "TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
188- },
189- "ToolName": "sign",
190- "ToolVersion": "1.0"
191- },
192- {
193- "KeyCode": "CP-230012",
194- "OperationCode": "SigntoolVerify",
195- "Parameters": {},
196- "ToolName": "sign",
197- "ToolVersion": "1.0"
198- }
199- ]
166+ # - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
167+ # displayName: 'ESRP CodeSigning'
168+ # inputs:
169+ # ConnectedServiceName: 'ESRP CodeSigning'
170+ # FolderPath: build/bin/dotnet/${{ parameters.configuration }}/net8.0
171+ # Pattern: '*.dll'
172+ # signConfigType: inlineSignParams
173+ # inlineOperation: |
174+ # [
175+ # {
176+ # "KeyCode": "CP-230012",
177+ # "OperationCode": "SigntoolSign",
178+ # "Parameters": {
179+ # "OpusName": "Microsoft.Research.SEAL",
180+ # "OpusInfo": "https://github.com/microsoft/SEAL",
181+ # "FileDigest": "/fd \"SHA256\"",
182+ # "PageHash": "/PH",
183+ # "TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
184+ # },
185+ # "ToolName": "sign",
186+ # "ToolVersion": "1.0"
187+ # },
188+ # {
189+ # "KeyCode": "CP-230012",
190+ # "OperationCode": "SigntoolVerify",
191+ # "Parameters": {},
192+ # "ToolName": "sign",
193+ # "ToolVersion": "1.0"
194+ # }
195+ # ]
200196
201- - task : SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
202- displayName : ' ESRP CodeSigning for .NET for iOS assembly'
203- enabled : false
204- inputs :
205- ConnectedServiceName : ' ESRP CodeSigning'
206- FolderPath : build/bin/dotnet/${{ parameters.configuration }}/net8.0-ios
207- Pattern : ' *.dll'
208- signConfigType : inlineSignParams
209- inlineOperation : |
210- [
211- {
212- "KeyCode": "CP-230012",
213- "OperationCode": "SigntoolSign",
214- "Parameters": {
215- "OpusName": "Microsoft.Research.SEAL",
216- "OpusInfo": "https://github.com/microsoft/SEAL",
217- "FileDigest": "/fd \"SHA256\"",
218- "PageHash": "/PH",
219- "TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
220- },
221- "ToolName": "sign",
222- "ToolVersion": "1.0"
223- },
224- {
225- "KeyCode": "CP-230012",
226- "OperationCode": "SigntoolVerify",
227- "Parameters": {},
228- "ToolName": "sign",
229- "ToolVersion": "1.0"
230- }
231- ]
197+ # - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
198+ # displayName: 'ESRP CodeSigning for .NET for iOS assembly'
199+ # inputs:
200+ # ConnectedServiceName: 'ESRP CodeSigning'
201+ # FolderPath: build/bin/dotnet/${{ parameters.configuration }}/net8.0-ios
202+ # Pattern: '*.dll'
203+ # signConfigType: inlineSignParams
204+ # inlineOperation: |
205+ # [
206+ # {
207+ # "KeyCode": "CP-230012",
208+ # "OperationCode": "SigntoolSign",
209+ # "Parameters": {
210+ # "OpusName": "Microsoft.Research.SEAL",
211+ # "OpusInfo": "https://github.com/microsoft/SEAL",
212+ # "FileDigest": "/fd \"SHA256\"",
213+ # "PageHash": "/PH",
214+ # "TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
215+ # },
216+ # "ToolName": "sign",
217+ # "ToolVersion": "1.0"
218+ # },
219+ # {
220+ # "KeyCode": "CP-230012",
221+ # "OperationCode": "SigntoolVerify",
222+ # "Parameters": {},
223+ # "ToolName": "sign",
224+ # "ToolVersion": "1.0"
225+ # }
226+ # ]
232227
233- - task : SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
234- displayName : ' ESRP CodeSigning native'
235- enabled : false
236- inputs :
237- ConnectedServiceName : ' ESRP CodeSigning'
238- FolderPath : build/bin/${{ parameters.configuration }}
239- Pattern : ' *.dll'
240- signConfigType : inlineSignParams
241- inlineOperation : |
242- [
243- {
244- "KeyCode": "CP-230012",
245- "OperationCode": "SigntoolSign",
246- "Parameters": {
247- "OpusName": "Microsoft.Research.SEAL",
248- "OpusInfo": "https://github.com/microsoft/SEAL",
249- "FileDigest": "/fd \"SHA256\"",
250- "PageHash": "/PH",
251- "TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
252- },
253- "ToolName": "sign",
254- "ToolVersion": "1.0"
255- },
256- {
257- "KeyCode": "CP-230012",
258- "OperationCode": "SigntoolVerify",
259- "Parameters": {},
260- "ToolName": "sign",
261- "ToolVersion": "1.0"
262- }
263- ]
228+ # - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
229+ # displayName: 'ESRP CodeSigning native'
230+ # inputs:
231+ # ConnectedServiceName: 'ESRP CodeSigning'
232+ # FolderPath: build/bin/${{ parameters.configuration }}
233+ # Pattern: '*.dll'
234+ # signConfigType: inlineSignParams
235+ # inlineOperation: |
236+ # [
237+ # {
238+ # "KeyCode": "CP-230012",
239+ # "OperationCode": "SigntoolSign",
240+ # "Parameters": {
241+ # "OpusName": "Microsoft.Research.SEAL",
242+ # "OpusInfo": "https://github.com/microsoft/SEAL",
243+ # "FileDigest": "/fd \"SHA256\"",
244+ # "PageHash": "/PH",
245+ # "TimeStamp": "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256"
246+ # },
247+ # "ToolName": "sign",
248+ # "ToolVersion": "1.0"
249+ # },
250+ # {
251+ # "KeyCode": "CP-230012",
252+ # "OperationCode": "SigntoolVerify",
253+ # "Parameters": {},
254+ # "ToolName": "sign",
255+ # "ToolVersion": "1.0"
256+ # }
257+ # ]
264258
265259- task : CopyFiles@2
266260 displayName : ' Copy Files to: $(Build.ArtifactStagingDirectory)'
0 commit comments