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

Sign macOS App correctly #25

Open
MWin123 opened this issue Mar 1, 2022 · 6 comments
Open

Sign macOS App correctly #25

MWin123 opened this issue Mar 1, 2022 · 6 comments

Comments

@MWin123
Copy link
Contributor

MWin123 commented Mar 1, 2022

Currently the macOS app is signed with a self signed certificate, and due to a bug, display the wrong message on install. Instead of displaying a warning or an error that the app is self signed, it says that the app is corrupted.

The workaround with removing the quarantine flag works fine, and the price for a Apple license is rather steep because it requires a yearly payment of $ 100.

@josefpolach
Copy link

Hi, thanks for the information. I tried to google how to remove the quarantine flag, but unsuccessfully.
Can you share a tutorial on how to remove the quarantine flag, please?

@patschuh
Copy link
Owner

The command for removing the quarantine flag can be found in the macOS Section of the Readme in this repository and looks like this: xattr -rd com.apple.quarantine kafkaesque-2.0.0.dmg

@josefpolach
Copy link

Oh, sorry 🤦‍♂️. I can see it now. Thank you for the answer. I can confirm it works on Monterey (MacBook Pro 14" M1 Pro).

@MWin123
Copy link
Contributor Author

MWin123 commented Mar 15, 2022

Oh, sorry 🤦‍♂️. I can see it now. Thank you for the answer. I can confirm it works on Monterey (MacBook Pro 14" M1 Pro).

@pepapolach Sorry, I didn't get a notification myself but @patschuh already answered the question perfectly.

I'm still on an Intel MacBook, and I'd like to ask you out of curiosity if you did face any problems running KafkaEsque or even Kafka itself on your ARM based MacBook.

Unfortunately GitHub Actions doesn't provide ARM runners yet, so we have to build it with x86/x64.

@amalic-wg
Copy link

Strangely the installation through homebrew worked for me on ma Apple Silicon Macbook.
--> https://github.com/patschuh/homebrew-esque

@MWin123
Copy link
Contributor Author

MWin123 commented Oct 5, 2023

Strangely the installation through homebrew worked for me on ma Apple Silicon Macbook.

The Homebrew cask definition (kafkaesque.rb) in the homebrew-esque repo contains a postflight block that runs the workaround command after install. So if you install & update Kafkaesque with brew, the manual workaround isn't necessary anymore.

I was basically able to automate the workaround but the main problem, i.e., no valid certificate, still exists.

IIRC such workarounds would prevent you from adding Kafkaesque to the official homebrew-cask tap.

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

4 participants