Closed bc3tech closed 2 weeks ago
Sign only runs on Windows due to Authenticode only running on Windows. It cannot currently run on other operating systems.
For now, that shouldn't be a huge blocker as it's recommended to run sign on its own stage in the a pipeline. Build can happen on any OS and then Windows used just for signing. The samples in this repo demonstrate that for AzDo and Actions: https://github.com/dotnet/sign/tree/main/docs
alrighty then, I (wrongly) assumed since it's a dotnet (core) tool it'd work on linux.
Version:
0.9.1-beta.24312.3
Describe the bug Got the tool installed, but getting an exception when I run it in WSL Ubuntu (testing ahead of putting on a GH Action Linux runner)
Repro steps
sudo apt install dotnet8 -y
sign
:dotnet tool install -g sign --prerelease
sign
Expected behavior Should output help as on Windows:
Windows Output
``` >sign Required command was not provided. Description: Sign CLI Usage: sign [command] [options] Options: --version Show version information -?, -h, --help Show help and usage information Commands: code Sign binaries and containers. ```Actual behavior Crashes with:
Additional context
dotnet info output
``` $ dotnet --info .NET SDK: Version: 8.0.105 Commit: eae90abaaf Workload version: 8.0.100-manifests.796a77f8 Runtime Environment: OS Name: ubuntu OS Version: 22.04 OS Platform: Linux RID: ubuntu.22.04-x64 Base Path: /usr/lib/dotnet/sdk/8.0.105/ .NET workloads installed: Workload version: 8.0.100-manifests.796a77f8 There are no installed workloads to display. Host: Version: 8.0.5 Architecture: x64 Commit: 087e15321b .NET SDKs installed: 8.0.105 [/usr/lib/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 8.0.5 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.5 [/usr/lib/dotnet/shared/Microsoft.NETCore.App] Other architectures found: None Environment variables: Not set global.json file: Not found ```Also tried
sudo sign
to no avail: