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

1.3.2 from home-brew is corrupted #87

Closed
roderik opened this issue Jan 5, 2021 · 9 comments · Fixed by #88
Closed

1.3.2 from home-brew is corrupted #87

roderik opened this issue Jan 5, 2021 · 9 comments · Fixed by #88
Labels
bug Verified bug

Comments

@roderik
Copy link

roderik commented Jan 5, 2021

Bug report

What you were trying to do (and why)

Installed the update out of homebrew and both my intel and my arm mac mentioned it was corrupted and should be moved to bin. 1.3.1 works perfectly.

@roderik roderik added the bug-report Unverified bug report label Jan 5, 2021
@roderik
Copy link
Author

roderik commented Jan 5, 2021

oh and reinstalling it several times did not help :)

@johndbritton
Copy link
Owner

@roderik Can you be more specific? Can you paste the exact error messages you got?

@johndbritton
Copy link
Owner

I reproduced this as follows:

john@jdb-pro|~
) brew uninstall --cask abyssoft-teleport
==> Uninstalling Cask abyssoft-teleport
==> Backing App 'teleport.app' up to '/usr/local/Caskro
==> Removing App '/Applications/teleport.app'.
==> Purging files for version 1.2.2 of Cask abyssoft-te
john@jdb-pro|~
) brew install --cask abyssoft-teleport
######################################################################## 100.0%
==> Installing Cask abyssoft-teleport
==> Moving App 'teleport.app' to '/Applications/telepor
🍺  abyssoft-teleport was successfully installed!

Screen Shot 2021-01-05 at 1 09 18 PM

@johndbritton
Copy link
Owner

Looks like the cask was updated in Homebrew/homebrew-cask#97198.

It seems that the auto-updater can install v1.3.2 fine, but it can't be installed directly.

@johndbritton
Copy link
Owner

This isn't a solution, but running xattr -cr /Applications/teleport.app will allow v1.3.2 to run. Not sure what exactly is causing the damaged warning.

@johndbritton johndbritton added bug Verified bug and removed bug-report Unverified bug report labels Jan 5, 2021
@johndbritton
Copy link
Owner

spctl -a -vvv ~/Downloads/teleport.app
/Users/john/Downloads/teleport.app: a sealed resource is missing or invalid

This is an issue with notarization of the application. Looks like the notarization ticket was not correctly stapled during the automated build.

@johndbritton
Copy link
Owner

johndbritton commented Jan 5, 2021

@roderik I released v1.3.3 which should fix this issue.

For Homebrew to work, the cask will need to be updated.

I verified the notarization and code signature generated with the automated build process:

On v1.3.2:

john@jdb-pro|~/src/johndbritton
) spctl -a -vvv ~/Desktop/teleport.app
/Users/john/Desktop/teleport.app: a sealed resource is missing or invalid
-> [1]
john@jdb-pro|~/src/johndbritton
) codesign --verify --verbose ~/Desktop/teleport.app
/Users/john/Desktop/teleport.app: bundle format is ambiguous (could be app or framework)
In subcomponent: /Users/john/Desktop/teleport.app/Contents/Frameworks/Sparkle.framework

On v1.3.3:

john@jdb-pro|~/src/johndbritton
) spctl -a -vvv ~/Desktop/teleport.app
/Users/john/Desktop/teleport.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: John Britton (57XRX9DK57)
john@jdb-pro|~/src/johndbritton
) codesign --verify --verbose ~/Desktop/teleport.app
/Users/john/Desktop/teleport.app: valid on disk
/Users/john/Desktop/teleport.app: satisfies its Designated Requirement

@johndbritton
Copy link
Owner

This will be fixed in Homebrew once Homebrew/homebrew-cask#97308 is merged.

@roderik
Copy link
Author

roderik commented Jan 5, 2021

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants