Skip to content

Commit 4ba64f5

Browse files
authored
Re-enable signing validation (dotnet#13899)
- dotnet#13864 - use latest Arcade from '.NET 3 Tools' - pick up @joeloff's dotnet#4083 signing validation fixes - update signing validation exclusions to get them working - remove custom embedded package icon bits and use Arcade approach - also switch VS.Redist.* packages to use license expressions
1 parent 7891c83 commit 4ba64f5

File tree

33 files changed

+48
-78
lines changed

33 files changed

+48
-78
lines changed

.azure/pipelines/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,5 +590,4 @@ stages:
590590
parameters:
591591
# See https://github.com/dotnet/arcade/issues/2871
592592
enableSymbolValidation: false
593-
enableSigningValidation: false
594593
publishInstallersAndChecksums: true

Directory.Build.props

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@
4646
<!-- Contact email address for NuGet packages and Linux installers. -->
4747
<MaintainerEmail>[email protected]</MaintainerEmail>
4848

49-
<PackageIcon>packageIcon.png</PackageIcon>
50-
<PackageIconFullPath>$(MSBuildThisFileDirectory)packageIcon.png</PackageIconFullPath>
5149
<PackageProjectUrl>https://asp.net</PackageProjectUrl>
5250
<NuspecBasePath>$(MSBuildProjectDirectory)</NuspecBasePath>
5351

@@ -56,10 +54,6 @@
5654
<DefaultNetCoreTargetFramework>netcoreapp$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion)</DefaultNetCoreTargetFramework>
5755
</PropertyGroup>
5856

59-
<ItemGroup>
60-
<None Include="$(PackageIconFullPath)" Pack="true" PackagePath="\"/>
61-
</ItemGroup>
62-
6357
<!-- Warnings and errors -->
6458
<PropertyGroup>
6559
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

eng/SignCheckExclusionsFile.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
apphost.exe;; Exclude the apphost because this is expected to be code-signed by customers after the SDK modifies it.
2-
.js;; We do not sign JavaScript files.
3-
.binlog;; MSBuild binary logs are not signed though they are sometimes placed where validation thinks they should be.
4-
WixUIWixca|WixDepCA;; We do not sign WiX content in our installers.
1+
*apphost.exe;; Exclude the apphost because this is expected to be code-signed by customers after the SDK modifies it.
2+
*.binlog;; MSBuild binary logs are not signed though they are sometimes placed where validation thinks they should be.
3+
*.js;; We do not sign JavaScript files.
4+
*netfxca|*wixca|*wixdepca|*wixuiwixca;*.msi; We do not sign WiX content in our installers.
5+
*wixstdba.dll;*.exe;

eng/Version.Details.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -417,17 +417,17 @@
417417
<Uri>https://github.com/aspnet/Extensions</Uri>
418418
<Sha>7dbc3ebd20c79ecf311c768be865c02ff4676836</Sha>
419419
</Dependency>
420-
<Dependency Name="Microsoft.DotNet.GenAPI" Version="1.0.0-beta.19474.3">
420+
<Dependency Name="Microsoft.DotNet.GenAPI" Version="1.0.0-beta.19530.2">
421421
<Uri>https://github.com/dotnet/arcade</Uri>
422-
<Sha>0e9ffd6464aff37aef2dc41dc2162d258f266e32</Sha>
422+
<Sha>5a666a2e3e7eadfd61ca34a0003630103a0486b0</Sha>
423423
</Dependency>
424-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19474.3">
424+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19530.2">
425425
<Uri>https://github.com/dotnet/arcade</Uri>
426-
<Sha>0e9ffd6464aff37aef2dc41dc2162d258f266e32</Sha>
426+
<Sha>5a666a2e3e7eadfd61ca34a0003630103a0486b0</Sha>
427427
</Dependency>
428-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="2.0.0-beta.19474.3">
428+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="2.0.0-beta.19530.2">
429429
<Uri>https://github.com/dotnet/arcade</Uri>
430-
<Sha>0e9ffd6464aff37aef2dc41dc2162d258f266e32</Sha>
430+
<Sha>5a666a2e3e7eadfd61ca34a0003630103a0486b0</Sha>
431431
</Dependency>
432432
<Dependency Name="Microsoft.AspNetCore.Testing" Version="3.0.1-servicing.19531.3" CoherentParentDependency="Microsoft.EntityFrameworkCore">
433433
<Uri>https://github.com/aspnet/Extensions</Uri>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
-->
6767
<PropertyGroup Label="Automated">
6868
<!-- Packages from dotnet/arcade -->
69-
<MicrosoftDotNetGenAPIPackageVersion>1.0.0-beta.19474.3</MicrosoftDotNetGenAPIPackageVersion>
69+
<MicrosoftDotNetGenAPIPackageVersion>1.0.0-beta.19530.2</MicrosoftDotNetGenAPIPackageVersion>
7070
<!-- Packages from dotnet/roslyn -->
7171
<MicrosoftNetCompilersToolsetPackageVersion>3.3.1-beta4-19462-11</MicrosoftNetCompilersToolsetPackageVersion>
7272
<!-- Packages from dotnet/core-setup -->

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"msbuild-sdks": {
2727
"Yarn.MSBuild": "1.15.2",
28-
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19474.3",
29-
"Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19474.3"
28+
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19530.2",
29+
"Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19530.2"
3030
}
3131
}

packageIcon.png

-6.84 KB
Binary file not shown.

src/Analyzers/Analyzers/src/Microsoft.AspNetCore.Analyzers.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<ItemGroup>
2626
<NuspecProperty Include="OutputBinary=$(OutputPath)$(AssemblyName).dll" />
2727
<NuspecProperty Include="OutputSymbol=$(OutputPath)$(AssemblyName).pdb" />
28-
<NuspecProperty Include="PackageIcon=$(PackageIconFullPath)" />
2928
</ItemGroup>
3029

3130
</Project>

src/Analyzers/Analyzers/src/Microsoft.AspNetCore.Analyzers.nuspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
33
<metadata>
44
$CommonMetadataElements$
5-
<icon>packageIcon.png</icon>
65
</metadata>
76

87
<files>
8+
$CommonFileElements$
99
<file src="$OutputBinary$" target="analyzers\dotnet\cs\" />
1010
<file src="$OutputSymbol$" target="analyzers\dotnet\cs\" />
11-
<file src="$PackageIcon$" target="" />
1211
</files>
1312
</package>

src/Components/Blazor/Build/src/Microsoft.AspNetCore.Blazor.Build.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
<NuspecProperty Include="componentsversion=$(ComponentsPackageVersion)" />
2424
<NuspecProperty Include="razorversion=$(MicrosoftAspNetCoreRazorDesignPackageVersion)" />
2525
<NuspecProperty Include="blazormonoversion=$(MicrosoftAspNetCoreBlazorMonoPackageVersion)" />
26-
<NuspecProperty Include="PackageIcon=$(PackageIconFullPath)" />
2726
</ItemGroup>
2827

2928
<ItemGroup>

0 commit comments

Comments
 (0)