ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

[Doc] Explain why macOS security needs to be bypassed for installation

Open a4v2d4 opened this issue 1 year ago • 2 comments

Explain why macOS security needs to be bypassed for installation

Using --no-quarantine during installation made me uneasy so I excluded it.

That lead me to the error message "ChatGPT" is damaged and can't be opened. You should move it to the Trash". To which the docs say to run sudo xattr -r -d com.apple.quarantine /YOUR_PATH/ChatGPT.app to fix. That also makes me uneasy.

Could someone explain exactly why this is necessary? Could that be included in the installation instructions?

a4v2d4 avatar Mar 23 '24 21:03 a4v2d4

macOS is pretty damn protective when it comes to software installation, especially from sources outside the App Store When you see that “damaged and can't be opened” message, it's macOS's way of saying, “Hey, I don't know where this came from, and I don't trust it.” This isn't necessarily because there's anything wrong with the app, but because it hasn't gone through Apple's notarization

The reason you need to do these things for some installations is simply because the app hasn't been notarized by Apple. Notarization is a hassle and can be a barrier for smaller developers or those distributing open-source software like this.

r0llac0de avatar Mar 28 '24 09:03 r0llac0de

Ah, thank you @r0llac0de, I appreciate the explanation.

Got little paranoid b/c saw some rumblings of previous issues where Windows installations were injecting trojan exe's... I guess that makes sense, though - fuck Apple's walled garden is the moral of the story I suppose.

a4v2d4 avatar Mar 28 '24 17:03 a4v2d4