Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create GitHub Action to automatically sign scripts in the main branch #1

Open
justatechie opened this issue Oct 19, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@justatechie
Copy link
Member

justatechie commented Oct 19, 2023

Currently scripts are disabled on all systems, and for good reason. We do not want rogue scripts running on our systems. However, this means whenever we as admins want to run scripts on our or other user's systems, we need to either temporarily unrestrict this setting or open the script and copy paste into a terminal window.

By setting up an action to sign our scripts auto-magically, we can change the default execution policy to AllSigned and add our signing cert as a trusted publisher to all systems. This allows us to run scripts that we write (and push to this repository), while still preventing all other scripts from being run.

We'll need to work with the PKI Admins for the certificate side, but if we can push this through it would be a huge boon.

@justatechie justatechie added the enhancement New feature or request label Oct 19, 2023
@justatechie justatechie self-assigned this Oct 19, 2023
@justatechie
Copy link
Member Author

on hold pending future discussions with PKI admins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant