Skip to content

Commit bb9d25c

Browse files
authored
Update docs for repository signature rotation prep (#3263)
1 parent e705182 commit bb9d25c

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

docs/api/_data/repository-signatures-index.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@
2020
"notBefore": "2021-02-16T00:00:00.0000000Z",
2121
"notAfter": "2024-05-15T23:59:59.0000000Z",
2222
"contentUrl": "https://api.nuget.org/v3-index/repository-signatures/certificates/5a2901d6ada3d18260b9c6dfe2133c95d74b9eef6ae0e5dc334c8454d1477df4.crt"
23+
},
24+
{
25+
"fingerprints": {
26+
"2.16.840.1.101.3.4.2.1": "1f4b311d9acc115c8dc8018b5a49e00fce6da8e2855f9f014ca6f34570bc482d"
27+
},
28+
"subject": "CN=NuGet.org Repository by Microsoft, O=NuGet.org Repository by Microsoft, L=Redmond, S=Washington, C=US",
29+
"issuer": "CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O=\"DigiCert, Inc.\", C=US",
30+
"notBefore": "2024-02-23T00:00:00.0000000Z",
31+
"notAfter": "2027-05-18T23:59:59.0000000Z",
32+
"contentUrl": "https://api.nuget.org/v3-index/repository-signatures/certificates/1f4b311d9acc115c8dc8018b5a49e00fce6da8e2855f9f014ca6f34570bc482d.crt"
2333
}
2434
]
2535
}

docs/api/repository-signatures-resource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ All hash values must be lowercase, hex-encoded string representations of the has
110110
### Sample request
111111

112112
```
113-
GET https://api.nuget.org/v3-index/repository-signatures/index.json
113+
GET https://api.nuget.org/v3-index/repository-signatures/5.0.0/index.json
114114
```
115115

116116
### Sample response

docs/reference/cli-reference/cli-ref-trusted-signers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Registered trusted signers:
3838
Certificate fingerprint(s):
3939
SHA256 - 0E5F38F57DC1BCC806D8494F4F90FBCEDD988B46760709CBEEC6F4219AA6157D
4040
SHA256 - 5A2901D6ADA3D18260B9C6DFE2133C95D74B9EEF6AE0E5DC334C8454D1477DF4
41+
SHA256 - 1F4B311D9ACC115C8DC8018B5A49E00FCE6DA8E2855F9F014CA6F34570BC482D
4142
4243
2. microsoft [author]
4344
Certificate fingerprint(s):

docs/reference/nuget-config-file.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ If a `certificate` specifies `allowUntrustedRoot` as `true` the given certificat
312312
<repository name="nuget.org" serviceIndex="https://api.nuget.org/v3/index.json">
313313
<certificate fingerprint="0E5F38F57DC1BCC806D8494F4F90FBCEDD988B46760709CBEEC6F4219AA6157D" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
314314
<certificate fingerprint="5A2901D6ADA3D18260B9C6DFE2133C95D74B9EEF6AE0E5DC334C8454D1477DF4" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
315+
<certificate fingerprint="1F4B311D9ACC115C8DC8018B5A49E00FCE6DA8E2855F9F014CA6F34570BC482D" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
315316
<owners>microsoft;aspnet;nuget</owners>
316317
</repository>
317318
</trustedSigners>
@@ -502,6 +503,7 @@ Below is an example `nuget.config` file that illustrates a number of settings in
502503
<repository name="nuget.org" serviceIndex="https://api.nuget.org/v3/index.json">
503504
<certificate fingerprint="0E5F38F57DC1BCC806D8494F4F90FBCEDD988B46760709CBEEC6F4219AA6157D" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
504505
<certificate fingerprint="5A2901D6ADA3D18260B9C6DFE2133C95D74B9EEF6AE0E5DC334C8454D1477DF4" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
506+
<certificate fingerprint="1F4B311D9ACC115C8DC8018B5A49E00FCE6DA8E2855F9F014CA6F34570BC482D" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
505507
<owners>microsoft;aspnet;nuget</owners>
506508
</repository>
507509
</trustedSigners>

0 commit comments

Comments
 (0)