Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“balenaEtcher” can’t be opened because Apple cannot check it for malicious software. #2911

Closed
e3b0c442 opened this issue Sep 25, 2019 · 15 comments

Comments

@e3b0c442
Copy link

  • Etcher version: 1.5.57
  • Operating system and architecture: macOS Catalina 10.15 beta build 19A573a
  • Image flashed: n/a
  • Do you see any meaningful error information in the DevTools? n/a

Etcher will not open on the latest macOS beta, with the error:
“balenaEtcher” can’t be opened because Apple cannot check it for malicious software.

This was downloaded fresh tonight.

Not sure what else I can provide for troubleshooting as macOS prevented the application from even launching.

@lurch
Copy link
Contributor

lurch commented Sep 25, 2019

See #2833 (comment)

@thundron
Copy link
Contributor

Closing in favor of the other issue open, also see #2833 (comment) for a temp workaround

@e3b0c442
Copy link
Author

I feel like this may be a different issue. The symptom I am describing is not laid out in any of the comments there, and that workaround does not work; sudo has the same result.

@thundron
Copy link
Contributor

thundron commented Sep 25, 2019

Hmmm, right @e3b0c442 . A quick search led me to this https://apple.stackexchange.com/questions/366542/install-spotify-cant-be-opened-because-apple-cannot-check-it-for-malicious-so so it looks like we'll have to wait a bit for that (app notarisation) to happen on Etcher. I'll keep this open then until we update that part of the OSX package

EDIT: You can always try the workaround described on the link above (right click -> "open"), although I would advise to do so only from packages downloaded from trusted sources, especially if you're gonna disable the check altogether

@dtaivpp
Copy link

dtaivpp commented Oct 21, 2019

Hey all, here is a workaround to install Etcher:

xattr -d com.apple.quarantine Downloads/<your installer>.pkg

After executing this line which is pointed at your installer image you will be able to run it. It deletes the 'quarentine' attribute that Apple has set that is disallowing it from running.

@thundron I think you should keep this one open as #2833 is a disk permissions error and this one is related to the app being registered with Apple.

@thundron
Copy link
Contributor

@dtaivpp Correct, the issue will stay open until #2939 (or a substitute of that w/ Electron 6 that we're working on as well) will be ready/merged

@gorsim
Copy link

gorsim commented Oct 25, 2019

Hey all, here is a workaround to install Etcher:

xattr -d com.apple.quarantine Downloads/<your installer>.pkg

After executing this line which is pointed at your installer image you will be able to run it. It deletes the 'quarentine' attribute that Apple has set that is disallowing it from running.

@thundron I think you should keep this one open as #2833 is a disk permissions error and this one is related to the app being registered with Apple.

Thanks for this. Do you put the full name of the .dmg file in the box?
EG: xattr -d com.apple.quarantine Downloads/<balenaEtcher-1.5.59.dmg>.pkg

@dtaivpp
Copy link

dtaivpp commented Oct 25, 2019

@gorsim for the dmg you would remove.pkg and just use .dmg extension

@gorsim
Copy link

gorsim commented Oct 25, 2019

@gorsim for the dmg you would remove.pkg and just use .dmg extension

Thanks David. Annoyingly it didn't work - still said the same thing. This is the terminal dialogue - the first time it did seem to do something then when I tried again said no such xattr. I ran it then re-installed balenaEtcher-1.5.59.dmg and when I opened it the message said “balenaEtcher” can’t be opened because Apple cannot check it for malicious software.

Any ideas? (Sorry I am not very used to command mode!)

simons-MBP:~ simonnonadmin$ xattr -d com.apple.quarantine Downloads/balenaEtcher-1.5.59.dmg
Simons-MBP:~ simonnonadmin$ xattr -d com.apple.quarantine Downloads/balenaEtcher-1.5.59.dmg
xattr: Downloads/balenaEtcher-1.5.59.dmg: No such xattr: com.apple.quarantine

@dtaivpp
Copy link

dtaivpp commented Oct 25, 2019

@gorsim the first time it worked and removed the attribute. The second time you ran it, it was saying there is no such attribute because it had already been deleted.

I would download, run the command once, and then attempt to open the dmg. I am unable to replicate any more as it seems my computer recognizes it as safe now

@gorsim
Copy link

gorsim commented Oct 25, 2019

@gorsim the first time it worked and removed the attribute. The second time you ran it, it was saying there is no such attribute because it had already been deleted.

I would download, run the command once, and then attempt to open the dmg. I am unable to replicate any more as it seems my computer recognizes it as safe now

Thank you so much David - it worked!

@gorsim
Copy link

gorsim commented Oct 25, 2019

David - next problem I'm trying to convert CentOS-Userland-7-armv7hl-RaspberryPI-Minimal-4-1908-sda.raw.xz into an image file for a raspberry pi 4 (from herehttp://mirrors.coreix.net/centos-altarch/7.7.1908/isos/armhfp/) but Etcher says it is corrupted. I tried another file and it says the same thing. Does yours work properly?

@ghost
Copy link

ghost commented Oct 25, 2019

* **Etcher version:** 1.5.57

* **Operating system and architecture:** macOS Catalina 10.15 beta build 19A573a

* **Image flashed:** n/a

* **Do you see any meaningful error information in the DevTools?** n/a

Etcher will not open on the latest macOS beta, with the error:
“balenaEtcher” can’t be opened because Apple cannot check it for malicious software.

This was downloaded fresh tonight.

Not sure what else I can provide for troubleshooting as macOS prevented the application from even launching.

Did you visit your System Preferences > Security & Privacy > then click allow. Try this method after you try to open your file.

@gorsim
Copy link

gorsim commented Oct 25, 2019

* **Etcher version:** 1.5.57

* **Operating system and architecture:** macOS Catalina 10.15 beta build 19A573a

* **Image flashed:** n/a

* **Do you see any meaningful error information in the DevTools?** n/a

Etcher will not open on the latest macOS beta, with the error:
“balenaEtcher” can’t be opened because Apple cannot check it for malicious software.
This was downloaded fresh tonight.
Not sure what else I can provide for troubleshooting as macOS prevented the application from even launching.

Did you visit your System Preferences > Security & Privacy > then click allow. Try this method after you try to open your file.

Thanks for your help - actually I sussed it out via another forum. You need to run etcher using sudo when logged in as administrator then it works. Cheers

@zvin
Copy link
Contributor

zvin commented Nov 6, 2019

Duplicate of #2833

@zvin zvin marked this as a duplicate of #2833 Nov 6, 2019
@zvin zvin closed this as completed Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants