Nefarius.Tools.SignRelay 1.0.0-pre005

Prefix Reserved
This is a prerelease version of Nefarius.Tools.SignRelay.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Nefarius.Tools.SignRelay --version 1.0.0-pre005
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Nefarius.Tools.SignRelay --version 1.0.0-pre005
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Nefarius.Tools.SignRelay&version=1.0.0-pre005&prerelease
                    
nuke :add-package Nefarius.Tools.SignRelay --version 1.0.0-pre005
                    

Nefarius.Tools.SignRelay

.NET global tool — submit files to a SignRelay server, wait for signing (Server-Sent Events), and download the signed outputs. Keeps code-signing keys off the CI runner entirely.

Install

dotnet tool install --global Nefarius.Tools.SignRelay

Command name: signrelay

Requirements

  • .NET 10 runtime (or SDK)
  • A running SignRelay server at a matching version (same major release as this tool; see releases) and a valid CI token (SignRelay__CiToken)

Quick start

signrelay submit \
  --server https://relay.example.com \
  --token "$SIGN_RELAY_CI_TOKEN" \
  --output ./signed \
  ./artifacts/MyApp.exe

Usage

signrelay submit --server <url> [--token <token>] (--output <dir> | --in-place) [options] <files>...

Options

  • --server <url> (required) — Base URL of the SignRelay server, e.g. https://relay.example.com.
  • --token <token> / -t <token> — CI bearer token. Falls back to the SIGN_RELAY_CI_TOKEN environment variable.
  • --output <dir> — Write signed files under this directory, preserving relative paths.
  • --in-place — Overwrite each input file with its signed copy. Mutually exclusive with --output.
  • --timeout <timespan> — Maximum time to wait for signing to complete. Default: 00:45:00 (45 minutes).
  • --allow-insecure — Allow http:// server URLs. Not recommended; bearer tokens are sent in cleartext.

Either --output or --in-place must be specified, but not both.

Arguments

  • <files>... (required) — One or more paths to the files to sign.

Exit codes

Code Meaning
0 Success
1 Unexpected error
2 Invalid arguments or bad input
3 Server rejected the submit (4xx/5xx)
4 Signing failed on the agent side
5 Timeout or connection lost before signing completed
6 SSE stream ended without a terminal event (server or proxy issue)

Environment variables

  • SIGN_RELAY_CI_TOKEN — CI bearer token. Used when --token is not passed.

Supported systems

Component OS Architecture
CLI (this tool) Windows, Linux, macOS x64, Arm64
Signing agent Windows 10 / 11 only x64 (primary)

The CLI is a .NET 10 global tool and runs on any platform and architecture where the .NET 10 runtime is supported. The signing agent is a separate component; its Windows x64 constraint does not affect where the CLI can run.

Server and agent setup

License

MIT — Copyright (c) 2026 Benjamin Höglinger-Stelzer.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.4.0 222 10/23/2026
1.3.2 135 10/11/2026
1.3.1 122 10/8/2026
1.3.0 294 9/3/2026
1.2.0 136 9/2/2026
1.1.1 129 9/2/2026
1.1.0 127 9/2/2026
1.0.0 131 9/2/2026
1.0.0-pre010 110 9/1/2026
1.0.0-pre009 127 9/1/2026
1.0.0-pre008 138 7/29/2026
1.0.0-pre007 116 7/28/2026
1.0.0-pre006 119 7/28/2026
1.0.0-pre005 123 7/28/2026
1.0.0-pre004 121 7/28/2026
1.0.0-pre003 114 7/28/2026
1.0.0-pre002 132 7/28/2026
1.0.0-pre001 127 4/13/2026