Powershell: Sign the macOS .pkg installer

Created on 18 Aug 2016  路  4Comments  路  Source: PowerShell/PowerShell

First off, congrats on the release!! Super excited!

The macOS pkg on the download page is not signed which means it can't be "double-clicked" on macOS, you have to right click and choose Open. Also, signing in general is goodness :). I know we did it for the .NET Core SDK package, so I might be able to point you at folks who have done it (email is [github user name]@microsoft.com)

Steps to reproduce

  1. Download macOS PKG from repo home page
  2. Run pkgutil --check-signature ~/Downloads/powershell-6.0.0-alpha.9.pkg

    Expected behavior

Something like:

Package "powershell-6.0.0-alpha.9.pkg":
   Status: signed by a certificate trusted by Mac OS X
   Certificate Chain:
    1. blah blah blah...

Actual behavior

Package "powershell-6.0.0-alpha.9.pkg":
   Status: no signature

Environment data

Not relevant, not an issue in PowerShell itself :)

Area-Maintainers-Build OS-macOS

Most helpful comment

I think we have to do this before we ship a GA/RTM build.

All 4 comments

+1

I would love to install PowerShell on my work macbook and try it out, but our security policy prevents me from installing unsigned packages, so I can't install it until this issue is resolved.

Seems to have left off of most current release --

pkgutil --check-signature powershell-6.0.0-alpha.11.pkg
Package "powershell-6.0.0-alpha.11.pkg":
Status: no signature

I think we have to do this before we ship a GA/RTM build.

duplicate of #5496

Was this page helpful?
0 / 5 - 0 ratings

Related issues

concentrateddon picture concentrateddon  路  3Comments

garegin16 picture garegin16  路  3Comments

Michal-Ziemba picture Michal-Ziemba  路  3Comments

ajensenwaud picture ajensenwaud  路  3Comments

JohnLBevan picture JohnLBevan  路  3Comments