Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
/ NuGet.Jobs Public archive

Commit

Permalink
[Repository Signing] Add PROD repository signing certificate (#490)
Browse files Browse the repository at this point in the history
Add the PROD repository signing certificate to Process Signature job.
  • Loading branch information
loic-sharma authored Jul 25, 2018
1 parent c8ae143 commit 31d009a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"ConnectionString": "DefaultEndpointsProtocol=https;AccountName=nugetgallery;AccountKey=$$Prod-NuGetGalleryStorage-Key$$"
},
"ProcessSignature": {
"AllowedRepositorySigningCertificates": [],
"AllowedRepositorySigningCertificates": [
"cf7ac17ad047ecd5fdc36822031b12d4ef078b6f2b4c5e6ba41f8ff2cf4bad67"
],
"V3ServiceIndexUrl": "https://api.nuget.org/v3/index.json"
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ private async Task<bool> IsValidRepositorySignatureAsync<T>(Context context, T s
context.Message.PackageId,
context.Message.PackageVersion,
context.Message.ValidationId,
signature.V3ServiceIndexUrl.AbsoluteUri);
signature.V3ServiceIndexUrl?.AbsoluteUri);

return false;
}
Expand Down

0 comments on commit 31d009a

Please sign in to comment.