aws-inventory-graph icon indicating copy to clipboard operation
aws-inventory-graph copied to clipboard

MacOs troubles to run cli

Open 1juandiaz opened this issue 5 years ago • 4 comments

Hi there! I wan't to use this cli in my macbook and i see this issue

“aws-inventory-graph” cannot be opened because the developer cannot be verified.

image

Help me to solve this!

1juandiaz avatar Dec 16 '19 15:12 1juandiaz

I'm not a MacOS user, I can't verify by myself but here the procedure I got from various sources, it seems really common in Catalina :

  • presented with os pop-up about binary not being verified;
  • click cancel, at this moment binary is killed;
  • go to Preferences → Security & Privacy → General, click "Allow Anyway" button;
  • try running the same command again;
  • presented with os pop-up about binary not being verified, but now with another option to run binary anyway;
  • click "open" button on that pop-up.

Please, tell me it fixes your issue.

Issif avatar Dec 16 '19 19:12 Issif

I think it's impossible because Catalina doesn't show that option.

image

1juandiaz avatar Dec 17 '19 03:12 1juandiaz

A coworker sent me that :

sudo spctl --master-disable

Keep in mind it's a global parameter.

Issif avatar Dec 17 '19 08:12 Issif

@1juandiaz

It is easily bypassed by holding ctrl and left-clicking the file and choosing Open. You'll then get a different warning dialog box that warns you but does allow you to open it. @Issif disabling GateKeeper is a bit overkill and then leaves you more vulnerable.

Here's an official help guide from Apple: https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac

TryTryAgain avatar Feb 21 '20 04:02 TryTryAgain