You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 30, 2024. It is now read-only.
Make Certificate Validator gracefully handle repository signed packages (#431)
The certificate validator expected a single author signature to be present if the package was marked as signed. This is no longer true as the package could be repository signed with no author signature.
Copy file name to clipboardExpand all lines: src/NuGet.Services.Validation.Orchestrator/PackageSigning/ValidateCertificate/PackageCertificatesValidator.cs
Copy file name to clipboardExpand all lines: tests/NuGet.Services.Validation.Orchestrator.Tests/PackageSigning/ValidateCertificate/PackageCertificatesValidatorFacts.cs
+110Lines changed: 110 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -536,6 +536,70 @@ public async Task ThrowsIfValidSignaturesHasTimestampWithRevokedCertificate()
536
536
537
537
Assert.Equal($"Package signature {signature.Key} is valid but has a timestamp whose end certificate is revoked\r\nParameter name: signature",ex.Message);
0 commit comments