Title: macOS package sometimes is blocked on macOS · Issue #10874 · PowerShell/PowerShell · GitHub
Open Graph Title: macOS package sometimes is blocked on macOS · Issue #10874 · PowerShell/PowerShell
X Title: macOS package sometimes is blocked on macOS · Issue #10874 · PowerShell/PowerShell
Description: Issue When running the package you get a message like this "powershell-7.0.0-preview.5-osx-x64.pkg" can't be opened because Apple cannot check it for malicious software. Workaround - Finder Click Ok in the dialog. Find the package in Fin...
Open Graph Description: Issue When running the package you get a message like this "powershell-7.0.0-preview.5-osx-x64.pkg" can't be opened because Apple cannot check it for malicious software. Workaround - Finder Click O...
X Description: Issue When running the package you get a message like this "powershell-7.0.0-preview.5-osx-x64.pkg" can't be opened because Apple cannot check it for malicious software. Workaround - ...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/10874
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"macOS package sometimes is blocked on macOS","articleBody":"## Issue\r\nWhen running the package you get a message like this\r\n\r\n`\"powershell-7.0.0-preview.5-osx-x64.pkg\" can't be opened because Apple cannot check it for malicious software.`\r\n\r\n## Workaround - Finder\r\n\r\n1. Click Ok in the dialog.\r\n2. Find the package in Finder.\r\n3. Control Click (click while holding the `ctrt` key) on the package icon.\r\n4. Click open on the context menu that comes up.\r\n\r\n\r\n## Workaround - Command Line\r\n\r\n1. run `sudo xattr -rd com.apple.quarantine \u003cpath to package\u003e`, replace `\u003cpath to package\u003e` with the actual path to the `.pkg` file.\r\n2. Then install the package as you normally would.\r\n\r\n## Required changes\r\n```\r\n1. Opt-in to use runtime hardening when developing your app.\r\na. Insert the following key by editing your info.plist: CSFlags of type int, 65536 is the hardening value\r\n \u003ckey\u003eCSFlags\u003e\r\n \u003cinteger\u003e65536\u003c/integer\u003e\r\n i. Create entitlements file\r\n ii. Pass a directive to codesign with entitlements file\r\nSame entitlements file and syntax are used for both hardening and sandboxing but they are orthogonal to each other.\r\n```","author":{"url":"https://github.com/TravisEz13","@type":"Person","name":"TravisEz13"},"datePublished":"2019-10-23T18:54:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":26},"url":"https://github.com/10874/PowerShell/issues/10874"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e19a9720-442e-36b5-9c1c-c4a41ebf4bee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0B0:32747A:1CE243B:29EC31D:6A563A68 |
| html-safe-nonce | c075290fa6a55069847eb88b15972e908b100fc3152bf624aabb1b5e47db342c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEIwOjMyNzQ3QToxQ0UyNDNCOjI5RUMzMUQ6NkE1NjNBNjgiLCJ2aXNpdG9yX2lkIjoiNzkxODQ4NDIzNTkzMzMzNDEyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e427875ed2e8f2f0fdb17bc4113583e2931f27f6f70af33d538f90eaa4e06ee8 |
| hovercard-subject-tag | issue:511509705 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/10874/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e3ee72e21ed082861b5b1b4331012e8c0f2581b16f38ddb02041dd62aa835f8b/PowerShell/PowerShell/issues/10874 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e3ee72e21ed082861b5b1b4331012e8c0f2581b16f38ddb02041dd62aa835f8b/PowerShell/PowerShell/issues/10874 |
| og:image:alt | Issue When running the package you get a message like this "powershell-7.0.0-preview.5-osx-x64.pkg" can't be opened because Apple cannot check it for malicious software. Workaround - Finder Click O... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TravisEz13 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d78ea552aac0685ca5f006d44f88166cbbf3bb96843f8da0c5a2c0b9908430b |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423b2fb76ac2b90de5ab599b7a76a0d2b2c83f24 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width