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

Unzipped application is damaged and can’t be opened and you should move it to the Trash #293

Closed
aonez opened this issue Sep 28, 2018 · 6 comments

Comments

@aonez
Copy link
Owner

@aonez aonez commented Sep 28, 2018

Some applications contained in a ZIP package appear to be damaged after being extracted by Keka.

screen shot 2018-09-28 at 12 03 42

In fact, the app is not damaged at all, but the system applies a quarantine flag that renders it unusable. Since Keka is sandboxed, right now there's no permanent fix to that.

The reason might be the same as described here. There're some workarounds:

  • Simply copy/paste the application. The pasted one will not have this issue.
  • Or manually remove the quarantine flag. Using the terminal:
    xattr -d -r com.apple.quarantine <APP_PATH>

This issue is connected with #215, but only affects to some ZIP files.
First reported here: https://twitter.com/the_jannis/status/1010259254043955200

@aonez aonez added this to the Look at milestone Sep 28, 2018
@aonez aonez self-assigned this Sep 28, 2018
@issuelabeler issuelabeler bot added the package label Sep 28, 2018
@aonez aonez added workaround and removed package labels Sep 28, 2018
@aonez aonez changed the title Unzipped application appears to be damaged Unzipped application is damaged and can’t be opened and you should move it to the Trash Sep 28, 2018
@aonez aonez changed the title Unzipped application is damaged and can’t be opened and you should move it to the Trash Unzipped application is damaged and can’t be opened Sep 28, 2018
@aonez aonez changed the title Unzipped application is damaged and can’t be opened Unzipped application is damaged and can’t be opened and you should move it to the Trash Sep 28, 2018
@alvarnell
Copy link

@alvarnell alvarnell commented Sep 28, 2018

Loading

@gingerbeardman
Copy link
Contributor

@gingerbeardman gingerbeardman commented Sep 28, 2018

Can anybody compare the app before and after extraction? Package contents, binary, attributes on all files?

Loading

@aonez
Copy link
Owner Author

@aonez aonez commented Sep 28, 2018

Loading

@aonez
Copy link
Owner Author

@aonez aonez commented Sep 28, 2018

@alvarnell I think you had this one: #215. As you can see depending on I don't really know yet what it can be #215, #294 or this one.

Loading

@aonez
Copy link
Owner Author

@aonez aonez commented Sep 28, 2018

Can anybody compare the app before and after extraction? Package contents, binary, attributes on all files?

Thanks @gingerbeardman for that. xScope package and Sublime Merge (from #294) have extended attributes files inside. The bundled macOS archiver applies them, Keka does not. Those files might be the reason of those issues.

@alvarnell you were right, removing the quarantine just skips the signature/integrity check. The problem is not in the quarantine files.

Loading

@aonez aonez removed this from the Look at milestone Nov 7, 2018
@aonez aonez added this to the 1.1.6 milestone Nov 7, 2018
@aonez
Copy link
Owner Author

@aonez aonez commented Nov 26, 2018

This is as well fixed in 1.1.6 👌🏼

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants