@@ -19,16 +19,14 @@ whether a repository signed package has been tampered or has an unexpected signi
19
19
The resource used for fetching this repository signature information is the ` RepositorySignatures ` resource found in
20
20
the [ service index] ( service-index.md ) .
21
21
22
- > [ !Note]
23
- > NuGet.org will start announcing the ` RepositorySignatures ` resource in the near future.
24
-
25
22
## Versioning
26
23
27
24
The following ` @type ` value is used:
28
25
29
26
@type value | Notes
30
27
-------------------------- | -----
31
28
RepositorySignatures/4.7.0 | The initial release
29
+ RepositorySignatures/4.9.0 | Allows enabling ` allRepositorySigned `
32
30
33
31
## Base URL
34
32
@@ -63,15 +61,19 @@ The following request fetches the repository signatures index.
63
61
64
62
The repository signature index is a JSON document that contains an object with the following properties:
65
63
66
- Name | Type | Required
67
- ------------------- | ---------------- | --------
68
- allRepositorySigned | boolean | yes
69
- signingCertificates | array of objects | yes
64
+ Name | Type | Required | Notes
65
+ ------------------- | ---------------- | -------- | -----
66
+ allRepositorySigned | boolean | yes | Must be ` false ` on 4.7.0 resource
67
+ signingCertificates | array of objects | yes |
70
68
71
69
The ` allRepositorySigned ` boolean is set to false if the package source has some packages that have no repository
72
70
signature. If the boolean is set to true, all packages available on the source must have a repository
73
71
signature produced by one of the signing certificates mentioned in ` signingCertificates ` .
74
72
73
+ > [ !Warning]
74
+ > The ` allRepositorySigned ` boolean must be false on the 4.7.0 resource. NuGet v4.7 and v4.8 clients cannot install packages
75
+ > from sources that have ` allRepositorySigned ` set to true.
76
+
75
77
There should be one or more signing certificates in the ` signingCertificates ` array if the ` allRepositorySigned ` boolean
76
78
is set to true. If the array is empty and ` allRepositorySigned ` is set to true, all packages from the source should be
77
79
considered invalid, although a client policy may still allow consumption of packages. Each element in this array is a
0 commit comments