Skip to content

Commit

Permalink
Add config files for Azure DevOps code signing. (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
alerickson committed May 2, 2019
1 parent b70a0e3 commit 3f0ae9f
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
12 changes: 12 additions & 0 deletions SignCat.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>

<!--
-->
<SignConfigXML>
<!-- AnyCPU Release sign job -->
<job platform="AnyCPU" configuration="Release" dest="__OUTPATHROOT__\signed" jobname="PackageManagement" approvers="americks;edyoung">
<file src="__INPATHROOT__\PackageManagement.cat" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\PackageManagement.cat" />

</job>
</SignConfigXML>
40 changes: 40 additions & 0 deletions SignConfig .xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8" ?>

<!--
-->
<SignConfigXML>
<!-- AnyCPU Release sign job -->
<job platform="AnyCPU" configuration="Release" dest="__OUTPATHROOT__\signed" jobname="PackgeManagement" approvers="vigarg;gstolt">
<file src="__INPATHROOT__\artifacts\PackageManagement.format.ps1xml" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\PackageManagement.format.ps1xml" />
<file src="__INPATHROOT__\artifacts\PackageManagement.psd1" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\PackageManagement.psd1" />
<file src="__INPATHROOT__\artifacts\PackageManagement.psm1" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\PackageManagement.psm1" />
<file src="__INPATHROOT__\artifacts\PackageManagement.Resources.psd1" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\PackageManagement.Resources.psd1" />
<file src="__INPATHROOT__\artifacts\PackageProviderFunctions.psm1" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\PackageProviderFunctions.psm1" />

<file src="__INPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PackageManagement.ArchiverProviders.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\coreclr\netstandard2.0\Microsoft.PackageManagement.ArchiverProviders.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PackageManagement.CoreProviders.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\coreclr\netstandard2.0\Microsoft.PackageManagement.CoreProviders.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PackageManagement.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\coreclr\netstandard2.0\Microsoft.PackageManagement.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PackageManagement.MetaProvider.PowerShell.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\coreclr\netstandard2.0\Microsoft.PackageManagement.MetaProvider.PowerShell.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PackageManagement.NuGetProvider.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\coreclr\netstandard2.0\Microsoft.PackageManagement.NuGetProvider.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PowerShell.PackageManagement.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\coreclr\netstandard2.0\Microsoft.PowerShell.PackageManagement.dll" />

<file src="__INPATHROOT__\artifacts\DSCResources\PackageManagementDscUtilities.psm1" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\DSCResources\PackageManagementDscUtilities.psm1" />
<file src="__INPATHROOT__\artifacts\DSCResources\PackageManagementDscUtilities.strings.psd1" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\DSCResources\PackageManagementDscUtilities.strings.psd1" />
<file src="__INPATHROOT__\artifacts\DSCResources\MSFT_PackageManagement\MSFT_PackageManagement.psm1" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\DSCResources\MSFT_PackageManagement\MSFT_PackageManagement.psm1" />
<file src="__INPATHROOT__\artifacts\DSCResources\MSFT_PackageManagement\MSFT_PackageManagement.schema.mof" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\DSCResources\MSFT_PackageManagement\MSFT_PackageManagement.schema.mof" />
<file src="__INPATHROOT__\artifacts\DSCResources\MSFT_PackageManagement\MSFT_PackageManagement.strings.psd1" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\DSCResources\MSFT_PackageManagement\MSFT_PackageManagement.strings.psd1" />
<file src="__INPATHROOT__\artifacts\DSCResources\MSFT_PackageManagementSource\MSFT_PackageManagementSource.psm1" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\DSCResources\MSFT_PackageManagementSource\MSFT_PackageManagementSource.psm1" />
<file src="__INPATHROOT__\artifacts\DSCResources\MSFT_PackageManagementSource\MSFT_PackageManagementSource.schema.mof" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\DSCResources\MSFT_PackageManagementSource\MSFT_PackageManagementSource.schema.mof" />
<file src="__INPATHROOT__\artifacts\DSCResources\MSFT_PackageManagementSource\MSFT_PackageManagementSource.strings.psd1" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\DSCResources\MSFT_PackageManagementSource\MSFT_PackageManagementSource.strings.psd1" />

<file src="__INPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.ArchiverProviders.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\fullclr\Microsoft.PackageManagement.ArchiverProviders.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.CoreProviders.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\fullclr\Microsoft.PackageManagement.CoreProviders.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\fullclr\Microsoft.PackageManagement.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.MetaProvider.PowerShell.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\fullclr\Microsoft.PackageManagement.MetaProvider.PowerShell.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.MsiProvider.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\fullclr\Microsoft.PackageManagement.MsiProvider.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.MsuProvider.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\fullclr\Microsoft.PackageManagement.MsuProvider.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.NuGetProvider.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\fullclr\Microsoft.PackageManagement.NuGetProvider.dll" />
<file src="__INPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PowerShell.PackageManagement.dll" signType="AuthenticodeFormer" dest="__OUTPATHROOT__\fullclr\Microsoft.PowerShell.PackageManagement.dll" />
</job>
</SignConfigXML>
26 changes: 26 additions & 0 deletions StrongNameSignConfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8" ?>

<!--
-->
<SignConfigXML>
<!-- AnyCPU Release sign job -->
<job platform="AnyCPU" configuration="Release" dest="__OUTPATHROOT__\signed" jobname="PackageManagement" approvers="vigarg;gstolt">

<file src="__INPATHROOT__\artifacts\coreclr\netstandard2.0\Microsoft.PackageManagement.ArchiverProviders.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PackageManagement.ArchiverProviders.dll" />
<file src="__INPATHROOT__\artifacts\coreclr\netstandard2.0\Microsoft.PackageManagement.CoreProviders.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PackageManagement.CoreProviders.dll" />
<file src="__INPATHROOT__\artifacts\coreclr\netstandard2.0\Microsoft.PackageManagement.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PackageManagement.dll" />
<file src="__INPATHROOT__\artifacts\coreclr\netstandard2.0\Microsoft.PackageManagement.MetaProvider.PowerShell.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PackageManagement.MetaProvider.PowerShell.dll" />
<file src="__INPATHROOT__\artifacts\coreclr\netstandard2.0\Microsoft.PackageManagement.NuGetProvider.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PackageManagement.NuGetProvider.dll" />
<file src="__INPATHROOT__\artifacts\coreclr\netstandard2.0\Microsoft.PowerShell.PackageManagement.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\coreclr\netstandard2.0\Microsoft.PowerShell.PackageManagement.dll" />

<file src="__INPATHROOT__\artifacts\fullclr\Microsoft.PackageManagement.ArchiverProviders.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.ArchiverProviders.dll" />
<file src="__INPATHROOT__\artifacts\fullclr\Microsoft.PackageManagement.CoreProviders.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.CoreProviders.dll" />
<file src="__INPATHROOT__\artifacts\fullclr\Microsoft.PackageManagement.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.dll" />
<file src="__INPATHROOT__\artifacts\fullclr\Microsoft.PackageManagement.MetaProvider.PowerShell.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.MetaProvider.PowerShell.dll" />
<file src="__INPATHROOT__\artifacts\fullclr\Microsoft.PackageManagement.MsiProvider.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.MsiProvider.dll" />
<file src="__INPATHROOT__\artifacts\fullclr\Microsoft.PackageManagement.MsuProvider.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.MsuProvider.dll" />
<file src="__INPATHROOT__\artifacts\fullclr\Microsoft.PackageManagement.NuGetProvider.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PackageManagement.NuGetProvider.dll" />
<file src="__INPATHROOT__\artifacts\fullclr\Microsoft.PowerShell.PackageManagement.dll" signType="StrongName" dest="__OUTPATHROOT__\artifacts\StrongNameSigned\fullclr\Microsoft.PowerShell.PackageManagement.dll" />
</job>
</SignConfigXML>

0 comments on commit 3f0ae9f

Please sign in to comment.