6 releases (breaking)
| 0.8.0 | Aug 16, 2025 |
|---|---|
| 0.7.0 | May 17, 2025 |
| 0.6.0 |
|
| 0.5.0 | Feb 15, 2025 |
| 0.1.0 | Apr 14, 2024 |
#606 in Network programming
1,346 downloads per month
25KB
223 lines
Trusted Signing CLI
A simple CLI tool to sign files with Trusted Signing
Prerequisites
- Trusted Signing Account and permissions configured
- .NET (.NET 6 or later recommended)
- Azure CLI
- Signtool (Windows 11 SDK 10.0.26100.0 or later recommended)
- Rust (Optional if you want to build from source)
Installation
cargo install trusted-signing-cli or download the binary from the latest releases
Usage
The CLI expects the following environment variables to be set or you can pass them as arguments. You need to create an Azure App Registration (you can use this article to get the credentials):
AZURE_CLIENT_IDAZURE_CLIENT_SECRETAZURE_TENANT_ID
Signing a single file:
trusted-signing-cli -e <url> -a <account name> -c <certificate profile name> file1.exe
Signing multiple files:
trusted-signing-cli -e <url> -a <account name> -c <certificate profile name> file1.exe file2.exe file3.exe
For more information run trusted-signing-cli --help
Dependencies
~21–43MB
~640K SLoC