sign 0.9.1-beta.26552.4
dotnet tool install --global sign --version 0.9.1-beta.26552.4
dotnet new tool-manifest
dotnet tool install --local sign --version 0.9.1-beta.26552.4
#tool dotnet:?package=sign&version=0.9.1-beta.26552.4&prerelease
nuke :add-package sign --version 0.9.1-beta.26552.4
About
Sign CLI is a .NET tool that provides digital signing for .NET assemblies, packages, and other files.
The tool signs files inside-out, starting with the most nested files and then the outer files, ensuring everything is signed in the correct order.
Prerequisites
- An up-to-date x64-based version of Windows currently in mainstream support
- .NET 8 SDK or later
- Microsoft Visual C++ 14 runtime
- For ClickOnce and VSTO signing: A recent --- ideally, the latest --- version of .NET Framework
Sign CLI targets .NET 8 and .NET 10 and supports .NET 9 through runtime roll-forward. Support for .NET 8 and .NET 9 will be removed shortly after their end of support on November 10, 2026. Use the .NET 10 SDK to prepare for this change.
Certificate file compatibility
For certificate-store --certificate-file, the .NET 10 build supports X.509 certificates, PKCS#12 (PFX), and PKCS#7 files.
Windows serialized certificates/stores and Authenticode files are no longer supported as certificate-file inputs; re-export their certificates in one of the supported formats.
The .NET 10 build of Sign CLI does not support RC4-encrypted PFX files supplied through certificate-store --certificate-file.
Re-export the existing certificate and private key to an AES-encrypted PFX before using this build; no new certificate or signing key is required.
The .NET 10 build also rejects raw base64-encoded PKCS#7 files with trailing NUL (\0) characters, which the .NET 8 build accepts.
Remove the trailing NUL from existing files. Exporters using CryptBinaryToString should write only the returned character count, which excludes the terminator, rather than the entire allocated buffer.
Usage
- For help with...
- Azure Key Vault:
sign code azure-key-vault --help - Artifact Signing:
sign code artifact-signing --help - local signing:
sign code certificate-store --help
- Azure Key Vault:
- Version information:
sign --version
See the GitHub repository for additional information and samples.
License
This package is released as open source under the MIT license.
Feedback
Bug reports, feedback, and contributions are welcome at the GitHub repository.
Happy signing! 🚀
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.1-beta.26552.4 | 2,916 | 11/3/2026 |
| 0.9.1-beta.26528.1 | 7,433 | 10/29/2026 |
| 0.9.1-beta.26475.3 | 81,870 | 9/26/2026 |
| 0.9.1-beta.26431.1 | 59,007 | 8/31/2026 |
| 0.9.1-beta.26371.2 | 62,203 | 8/3/2026 |
| 0.9.1-beta.26330.1 | 67,772 | 6/30/2026 |
| 0.9.1-beta.26301.2 | 35,858 | 6/1/2026 |
| 0.9.1-beta.26227.3 | 121,189 | 4/30/2026 |
| 0.9.1-beta.26179.1 | 33,439 | 3/29/2026 |
| 0.9.1-beta.26127.1 | 57,351 | 2/27/2026 |
| 0.9.1-beta.26102.1 | 20,241 | 2/3/2026 |
| 0.9.1-beta.25379.1 | 263,436 | 7/31/2025 |
| 0.9.1-beta.25330.2 | 17,173 | 7/1/2025 |
| 0.9.1-beta.25278.1 | 265,901 | 5/30/2025 |
| 0.9.1-beta.25264.1 | 10,714 | 5/14/2025 |
| 0.9.1-beta.25228.1 | 13,756 | 4/28/2025 |
| 0.9.1-beta.25224.2 | 1,057 | 4/24/2025 |
| 0.9.1-beta.25181.2 | 40,165 | 3/31/2025 |