Skip to content

pwsh.exe shim from .NET tool install is not signed #20557

@mthalman

Description

@mthalman

Prerequisites

Steps to reproduce

dotnet tool install --global PowerShell

Expected behavior

`%USERPROFILE%\.dotnet\tools\pwsh.exe` should be a signed file

This is particularly needed for the .NET SDK container images which [install PowerShell as a global tool](https://github.com/dotnet/dotnet-docker/blob/6ba62d6825b9f45b3d665ab6cc930808a40d63c6/src/sdk/8.0/nanoserver-ltsc2022/amd64/Dockerfile#L39-L47).

Actual behavior

`%USERPROFILE%\.dotnet\tools\pwsh.exe` is unsigned

Error details

No response

Environment data

PowerShell 7.3.8

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-PRIndicates that a PR is out for the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions