Skip to content

Commit 86bd898

Browse files
authored
Merge pull request #562 from dotnet/signedPackaged
Require signed dependency packages
2 parents fc7cfab + 378b140 commit 86bd898

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

src/nuget.config

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,24 @@
22
<configuration>
33
<config>
44
<add key="repositorypath" value="packages" />
5+
<add key="signatureValidationMode" value="require" />
56
</config>
67
<packageSources>
78
<clear />
8-
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
9-
<add key="Consumption" value="https://pkgs.dev.azure.com/andrewarnott/OSS/_packaging/Consumption/nuget/v3/index.json" protocolVersion="3" />
9+
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
10+
<add key="Consumption" value="https://pkgs.dev.azure.com/andrewarnott/OSS/_packaging/Consumption/nuget/v3/index.json" />
1011
</packageSources>
12+
<trustedSigners>
13+
<repository name="nuget" serviceIndex="https://api.nuget.org/v3/index.json">
14+
<owners>Microsoft;aarnott;xunit;kzu;castleproject;patrickb8man;jamesnk;ethomson;AndreyAkinshin;MarcoRossignoli;cake-build;ericnewton76;0xd4d;manuel.roemer</owners>
15+
<certificate fingerprint="0e5f38f57dc1bcc806d8494f4f90fbcedd988b46760709cbeec6f4219aa6157d" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
16+
</repository>
17+
<author name="Nerdbank">
18+
<certificate fingerprint="1f891e64936d15de5fae22d910cd39f3e9860213c92f20cf9638a245b1249d2b" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
19+
</author>
20+
<author name="Microsoft">
21+
<certificate fingerprint="aa12da22a49bce7d5c1ae64cc1f3d892f150da76140f210abd2cbffca2c18a27" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
22+
<certificate fingerprint="3f9001ea83c560d712c24cf213c3d312cb3bff51ee89435d3430bd06b5d0eece" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
23+
</author>
24+
</trustedSigners>
1125
</configuration>

0 commit comments

Comments
 (0)