#signature #azure #signtool #signing #codesigning

app trusted-signing-cli

A simple CLI tool to sign files with Trusted Signing

4 releases (breaking)

0.5.0 Feb 15, 2025
0.3.0 Aug 27, 2024
0.2.0 Apr 19, 2024
0.1.0 Apr 14, 2024

#740 in Cryptography

Download history 53/week @ 2025-01-02 156/week @ 2025-01-09 123/week @ 2025-01-16 165/week @ 2025-01-23 292/week @ 2025-01-30 229/week @ 2025-02-06 324/week @ 2025-02-13 326/week @ 2025-02-20 251/week @ 2025-02-27 221/week @ 2025-03-06 364/week @ 2025-03-13 255/week @ 2025-03-20 252/week @ 2025-03-27 227/week @ 2025-04-03 157/week @ 2025-04-10 217/week @ 2025-04-17

884 downloads per month

MIT license

23KB
173 lines

Trusted Signing CLI

A simple CLI tool to sign files with Trusted Signing

Prerequisites

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_ID
  • AZURE_CLIENT_SECRET
  • AZURE_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

~20–33MB
~470K SLoC