chocolatey / Chocolatey.Cake.Recipe

A set of convention based Cake scripts for building Chocolatey projects
Apache License 2.0
5 stars 9 forks source link

(#147) Update Authenticode signing certificate subject name and allow setting it via an environment variable #148

Closed Windos closed 4 months ago

Windos commented 4 months ago

Description Of Changes

This PR updates the default subject name for the Authenticode signing certificate from Chocolatey Software, Inc. to Chocolatey Software, Inc and also enables overriding this subject name via an environment variable.

Motivation and Context

During the renewal of the Authenticode signing certificate, the subject name changed slightly, and so signing fails due to not being able to find the matching certificate.

This change necessitates updating the version of this recipe used in projects, to avoid this situation in the future the option of providing an environment variable was introduced.

Testing

I'm not 100% sure on how to best test this

Operating Systems Testing

N/A

Change Types Made

Change Checklist

Related Issue

Fixes #147