The "AutoAdmins CodeSinger" extension provides a convenient way to apply code signing to PowerShell scripts (.ps1) and executable files (.exe) directly within Visual Studio Code. This extension is designed to enhance security and compliance in your scripting and development workflows.
Features
Code Signing for PS1 Scripts and EXE Files: Easily sign your PowerShell scripts and executables with a digital signature.
Integration with PowerShell: Activates when working with PowerShell language files, providing a seamless experience for PowerShell developers.
Convenient Command: Access the "Sign Code" command from the editor title context menu when working on a PowerShell file.
Requirements
Visual Studio Code version 1.87.0 or higher.
PowerShell extension for Visual Studio Code is recommended for optimal PowerShell scripting experience.
CodeSigner.exe must be installed and accessible at C:\autoadmins\app\CodeSigner\CodeSigner.exe on your system.
Installation
To install the "AutoAdmins CodeSinger" extension from a .vsix file using PowerShell, follow these steps:
Open PowerShell as an administrator.
Navigate to the directory containing the .vsix file.
Replace autoadmins-codesigner-0.0.1.vsix with the actual name of your .vsix file.
Usage
To sign a PowerShell script or an executable file:
Open the PowerShell script (.ps1) or an executable file (.exe) in VS Code.
Right-click on the editor title.
Select "Sign Code" from the context menu.
If the operation completes successfully, you will receive a notification stating "Script signed successfully!"
Troubleshooting
Ensure CodeSigner.exe is correctly installed and located at C:\autoadmins\app\CodeSigner\CodeSigner.exe.
File names with square brackets "[]" are not supported by the CodeSigner. Please rename the file if it contains square brackets before attempting to sign it.
If you encounter any errors during the signing process, please check the output for more details and ensure your CodeSigner.exe is configured correctly.
Contributing
We welcome contributions and suggestions to improve the "AutoAdmins CodeSinger" extension. Please feel free to submit issues or pull requests on our GitHub repository.
License
This extension is licensed under [LICENSE NAME], see the LICENSE file for details.
Contact
For support or inquiries, please email us at username@autoadmins.com.