Skip to content

Commit

Permalink
(maint) Add new signature to upgrade check
Browse files Browse the repository at this point in the history
When upgrading Chocolatey, if the certificate subject doesn't match a
known Chocolatey certificate we don't replace the file. The certificate
used for signing changed slightly, this adds the new subject to the
check.
  • Loading branch information
corbob committed Nov 29, 2024
1 parent 9170a62 commit 8741836
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nuspec/chocolatey/chocolatey/tools/chocolateysetup.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function Remove-ShimWithAuthenticodeSignature {
$possibleSignatures = @(
'RealDimensions Software, LLC'
'Chocolatey Software, Inc\.'
'Chocolatey Software, Inc'
)

$possibleSignatures | ForEach-Object {
Expand Down

0 comments on commit 8741836

Please sign in to comment.