Switch to only signing PowerShell scripts when required #149
Labels
5 - Released
The issue has been resolved, and released to the public for consumption
Improvement
Issues that enhances existing functionality, or adds new features
Milestone
Checklist
Is Your Feature Request Related To A Problem? Please describe.
Currently, Chocolatey.Cake.Recipe signs each and every PowerShell script, when the official signing certificate is in place on the build server. This is wasteful, and we should only sign scripts if/when required.
Describe The Solution. Why is it needed?
All PowerShell scripts should be signed with the official certificate, and committed directly in the repository. Then, a verification task should be completed to check that signature assigned to the file is valid, and if it isn't, the build should fail.
At this point, another task should be created to sign the files, and this will be executed when the official certificate is in place on the build server.
Additional Context
N/A
Related Issues
N/A
The text was updated successfully, but these errors were encountered: