File tree Expand file tree Collapse file tree
GVFS/GVFS.Common/NuGetUpgrade Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ namespace GVFS.Common.NuGetUpgrade
2020 public class NuGetFeed : IDisposable
2121 {
2222 // This is the SHA256 Certificate Thumbrint we expect packages from Microsoft to be signed with
23- private const string TrustedMicrosoftCertFingerprint = "3F9001EA83C560D712C24CF213C3D312CB3BFF51EE89435D3430BD06B5D0EECE" ;
23+ private const string TrustedMicrosoftCertFingerprintOld = "3F9001EA83C560D712C24CF213C3D312CB3BFF51EE89435D3430BD06B5D0EECE" ;
24+ private const string TrustedMicrosoftCertFingerprintNew = "AA12DA22A49BCE7D5C1AE64CC1F3D892F150DA76140F210ABD2CBFFCA2C18A27" ;
2425
2526 private readonly ITracer tracer ;
2627 private readonly string feedUrl ;
@@ -134,7 +135,11 @@ public virtual bool VerifyPackage(string packagePath)
134135 {
135136 Verifications = new VerifyArgs . Verification [ ] { VerifyArgs . Verification . All } ,
136137 PackagePath = packagePath ,
137- CertificateFingerprint = new List < string > ( ) { TrustedMicrosoftCertFingerprint } ,
138+ CertificateFingerprint = new List < string >
139+ {
140+ TrustedMicrosoftCertFingerprintOld ,
141+ TrustedMicrosoftCertFingerprintNew ,
142+ } ,
138143 Logger = this . nuGetLogger
139144 } ;
140145
You can’t perform that action at this time.
0 commit comments