Re:Sosumi Snap – Download and Install macOS in Ubuntu
by jabberwcky on Monday January 18, 2021 @08:42PM
(#25828995)
Pretty sure the EULA does not cover copying essentially a DRM key from the SMC and checking it into GitHub, conveniently set up in such a way as the repo does not in fact require Mac hardware
[ Parent
| on HN ]
Re:Sosumi Snap – Download and Install macOS in Ubuntu
by userbinator on Monday January 18, 2021 @09:26PM
(#25829284)
You may find the reasoning here interesting: https://github.com/kholia/OSX-KVM
The "secret" Apple OSK string is widely available on the Internet. It is also included in a public court document available here. I am not a lawyer but it seems that Apple's attempt(s) to get the OSK string treated as a trade secret did not work out. Due to these reasons, the OSK string is freely included in this repository.
That repo has been around for many years.
Re:Sosumi Snap – Download and Install macOS in Ubuntu
by eyelidlessness on Monday January 18, 2021 @09:45PM
(#25829411)
Every so often I encounter a key in React (Preact, but preserved for compatibility) titled something like PRIVATE_DO_NOT_USE_OR_YOU_WILL_BE_FIRED and I appreciate the cutesy tongue in cheek acknowledgement that it’s not private and will likely be used anyway
Re:Sosumi Snap – Download and Install macOS in Ubuntu
by franga2000 on Tuesday January 19, 2021 @03:22AM
(#25831123)
As someone not at all familiar with modern JS: why the hell would a UI library have a key of any kind??
Re:Sosumi Snap – Download and Install macOS in Ubuntu
by philplckthun on Tuesday January 19, 2021 @05:18AM
(#25831872)
It's not a cryptographic key or a secret of any kind. In the case of React (or other JS libraries) export identifiers are chosen to expose private APIs for integration purposes with things like developer tooling and other functionality that isn't part of the publicly documented API.
Instead of choosing something like `__PRIVATE` the React library in particular chose something more eye catching: `__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`, which is definitely sure to get people's attention when they look into it, but is essentially just a joke.
Re:Sosumi Snap – Download and Install macOS in Ubuntu
by scaladev on Tuesday January 19, 2021 @04:18AM
(#25831469)
Because there are some really terrible projects out there made by guys who think that a two week "bootcamp" is enough to make you a competent developer. An SPA needs to access a third party resource of some sort (in my case it was Power BI), and fetching the necessary authentication information from your server with proper authorization is apparently too complicated. I ain't rewriting that shit, I have too much work already.
Re:Sosumi Snap – Download and Install macOS in Ubuntu
by aethertron on Tuesday January 19, 2021 @03:49AM
(#25831292)
Not a crypto key (I hope). In JS, objects (dictionaries) are key-value pairs.
Re:Sosumi Snap – Download and Install macOS in Ubuntu
by franga2000 on Tuesday January 19, 2021 @03:54AM
(#25831318)
Fair enough, and I see how "private" might mean "inaccessible" and not "secret" as I originally assumed. I hope at least...
Re:Sosumi Snap – Download and Install macOS in Ubuntu
by eyelidlessness on Tuesday January 19, 2021 @04:25AM
(#25831526)
I meant... a property name. Like `{ [key]: value }`
Re:Sosumi Snap – Download and Install macOS in Ubuntu
by franga2000 on Tuesday January 19, 2021 @05:16AM
(#25831856)
Yeah, that makes sense. I automatically assumed you were talking about "secret" keys because of the parent post.