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

Homebrew install: "Kui.app" cannot be opened because the developer cannot be verified. #8002

Closed
jsolbrig opened this issue Sep 15, 2021 · 9 comments · Fixed by #8443
Closed
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@jsolbrig
Copy link

jsolbrig commented Sep 15, 2021

Describe the topic
I installed Kui using brew install kui, but when I try to run the executable I get "Kui.app" cannot be opened because the developer cannot be verified. While I know how to get around this, I think this will be a deterrent to people (including me) using Kui. Are there plans to get Kui verified with Apple?

@starpit
Copy link
Contributor

starpit commented Sep 15, 2021

Howdy, yes! We are already set up to allow for signed+notarized builds. Unfortunately, due to Apple's recent switch to enforcement of its "hardened runtime" (in macOS 11), combined with a bug in libuv [1]... the result is that signed+notarized builds are excessively slow -- adding about 300ms to every subprocess execution.

The libuv people have been trying to fix this for quite a while. In their latest attempt, they have run into macOS kernel bugs (sigh)... But I think they are close.

So... on the Kui side, we could decide to use signed+notarized builds, with a slowness/lag warning... It depends which is prioritized, UX latency/responsiveness versus unsigned builds. Thoughts?

[1] electron/electron#26143

@starpit
Copy link
Contributor

starpit commented Sep 15, 2021

For a bit more detail: when using the hardened runtime, the POSIX fork call is very slow, because it has to copy lots of state. The solution is to use the newer posix_spawn API. But this is apparently new enough to be still buggy. Why Apple thought they could mandate the use of a buggy API is beyond me.

This also affects the node-pty library, which similarly uses fork rather than posix_spawn. I opened an issue there [2]

[2] microsoft/node-pty#476

@jsolbrig
Copy link
Author

I think that to give a good answer to your question I'd need to be able to test how intrusive the UX latency/responsiveness issues are. I'd be happy to test things and give you my opinion if that's possible.

I'm personally giving Kui a test drive right now, but I don't think I'm going to recommend it to coworkers until it's signed.

That's really frustrating that Apple made changes without a viable solution in place.

@starpit
Copy link
Contributor

starpit commented Sep 15, 2021

Agreed. We can make a build for the next patch release and upload it to the releases page. I'll ping this thread when that happens. We could probably release something by EOD, or some time tomorrow.

@jsolbrig
Copy link
Author

Sounds great! I'll keep an eye out for it and will give it a try tomorrow. I don't think I'll have time to test by EOD today.

@starpit
Copy link
Contributor

starpit commented Sep 16, 2021

The 10.5.5 release has signed builds for darwin x86 and arm64. I just tried it on x86. It is definitely laggy, though still usable.

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 15, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 14, 2022
@starpit
Copy link
Contributor

starpit commented Jan 18, 2022

At long last, Kui 11.0.0 (just released to homebrew: brew upgrade kui) now ships with signed+notarized builds for macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants