dotnet / diagnostics

This repository contains the source code for various .NET Core runtime diagnostic tools and documents.
MIT License
1.18k stars 354 forks source link

[macos] Shipping dotnet-* tools unsigned #1942

Open sdmaclea opened 3 years ago

sdmaclea commented 3 years ago

Description

The released global diagnostic tools are not signed.

For instance

codesign -v $(which dotnet-sos)

% codesign -v $(which dotnet-sos)
/Users/stmaclea/.dotnet/tools/dotnet-sos: code object is not signed at all
In architecture: arm64

This is problematic for Apple Silicon because it runs on Big Sur and the kernel will automatically kill all unsigned binaries.

zsh: killed    /Users/stmaclea/.dotnet/tools/dotnet-sos

It is not clear whether this affects all Big-Sur architectures.

/cc @hoyosjs @mikem8361 @vitek-karas

tommcdon commented 2 years ago

Move to future though will validate if this is already happening and if so close it