Skip to content

Commit

Permalink
Use dotnet certificate (dotnet#5794)
Browse files Browse the repository at this point in the history
* Use dotnet certificate

* Update 3.1 SDK

Co-authored-by: Prashanth Govindarajan <[email protected]>
Co-authored-by: Michael Sharp <[email protected]>
  • Loading branch information
3 people authored and darth-vader-lg committed May 19, 2021
1 parent 16b3f55 commit 0809a48
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion eng/Signing.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ItemGroup Condition="'$(SignBinaries)' == 'true'">
<ItemsToSign Remove="@(ItemsToSign)" />
<ItemsToSign Include="$(ArtifactsDir)pkgassets\**\*.dll" />
<FileExtensionSignInfo Include="*.dll" CertificateName="Microsoft400" />
<FileExtensionSignInfo Include="*.dll" CertificateName="MicrosoftDotNet500" />
</ItemGroup>
<ItemGroup Condition="'$(SignNugetPackages)' == 'true'">
<ItemsToSign Remove="@(ItemsToSign)" />
Expand All @@ -11,4 +11,11 @@
<FileExtensionSignInfo Include="*.nupkg" CertificateName="NuGet" />
<FileExtensionSignInfo Include="*.snupkg" CertificateName="NuGet" />
</ItemGroup>

<!-- Since this repo isn't on Arcade 6, the UseDotNetCertificate optionis not available. Do the update here instead. -->
<ItemGroup>
<FileExtensionSignInfo Update="@(FileExtensionSignInfo->WithMetadataValue('CertificateName','Microsoft400'))" CertificateName="MicrosoftDotNet500" />
<StrongNameSignInfo Update="@(StrongNameSignInfo->WithMetadataValue('CertificateName','Microsoft400'))" CertificateName="MicrosoftDotNet500" />
<FileSignInfo Update="@(FileSignInfo->WithMetadataValue('CertificateName','Microsoft400'))" CertificateName="MicrosoftDotNet500" />
</ItemGroup>
</Project>

0 comments on commit 0809a48

Please sign in to comment.