#signature #azure #signtool #trusted-signing #codesigning

app trusted-signing-cli

A simple CLI tool to sign files with Trusted Signing

5 releases (breaking)

new 0.7.0 May 17, 2025
0.6.0 May 14, 2025
0.5.0 Feb 15, 2025
0.3.0 Aug 27, 2024
0.1.0 Apr 14, 2024

#201 in Network programming

Download history 253/week @ 2025-01-26 237/week @ 2025-02-02 261/week @ 2025-02-09 308/week @ 2025-02-16 311/week @ 2025-02-23 231/week @ 2025-03-02 281/week @ 2025-03-09 354/week @ 2025-03-16 214/week @ 2025-03-23 268/week @ 2025-03-30 194/week @ 2025-04-06 206/week @ 2025-04-13 222/week @ 2025-04-20 219/week @ 2025-04-27 241/week @ 2025-05-04 494/week @ 2025-05-11

1,202 downloads per month

MIT license

24KB
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

~21–34MB
~486K SLoC