News for hackers. Stuff that matters.
Re:Sosumi Snap – Download and Install macOS in Ubuntu by jabberwcky on Monday January 18, 2021 @07:18PM (#25828424)
A Canonical employee releasing a wrapper to download and run unlicensed MacOS, and shipping it via Ubuntu's explicitly for-profit app store? There is noooo way this was approved

"Sofireme" seems way more appropriate, or maybe "Sosumyemployer"

edit: double eek: https://github.com/popey/sosumi-snap/blob/master/snap/local/...

Re:Sosumi Snap – Download and Install macOS in Ubuntu by userbinator on Monday January 18, 2021 @07:40PM (#25828579)
As pointed out in the other comments here, the EULA definitely allows you to run macOS in Ubuntu if you're using Apple's hardware.
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
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.
Re:Sosumi Snap – Download and Install macOS in Ubuntu by kodah on Monday January 18, 2021 @08:02PM (#25828748)
> shipping it via Ubuntu's explicitly for-profit app store

Can you clarify "explicitly for-profit"? I don't think that's true: https://en.wikipedia.org/wiki/Snap_(package_manager)

Snap is practically the opposite of that. It's a package manager that is almost entirely out of the hands of Canonical, which was one of the criticisms of apt.

If you mean to criticize that some of Snap is proprietary, that is legitimate, but that doesn't seem to be the aim here.

Re:Sosumi Snap – Download and Install macOS in Ubuntu by input_sh on Tuesday January 19, 2021 @04:19AM (#25831473)
In theory, I agree. In practice, there doesn't seem to be any other snap store out there?

This is a years old quote from [0], but it doesn't feel like anything changed since.

> If you want to distribute your snaps, your choices are 1) publish it through the Canonical store, entirely under Canonical's control, 2) upload it as a file and tell people to use the CLI to install it, or 3) try to figure out how to reconfigure the snap client to use a different server by reading the source code, then write your own server end from scratch, and tell your users to do that.

[0] https://www.happyassassin.net/posts/2016/06/16/on-snappy-and...

Re:Sosumi Snap – Download and Install macOS in Ubuntu by curt15 on Tuesday January 19, 2021 @09:31AM (#25833702)
>try to figure out how to reconfigure the snap client to use a different server by reading the source code, then write your own server end from scratch, and tell your users to do that.

You also need to

1) compile and distribute your own version of snapd, since it hardcodes the Canonical snap store.

2) Set the appropriate env variable to prevent snapd from auto-updating itself back to a Canonical version.

Re:Sosumi Snap – Download and Install macOS in Ubuntu by kodah on Tuesday January 19, 2021 @10:26AM (#25834298)
Again, this does not address what I took issue with, which is "explicitly for profit". There is no indication that this assertion is even remotely true. I did call out the proprietary nature of some of their server code, but again, that does not yield "explicitly for profit" which nullifies the posters point.
Re:Sosumi Snap – Download and Install macOS in Ubuntu by input_sh on Tuesday January 19, 2021 @10:52AM (#25834639)
You've also claimed that it's "almost entirely out of the hands of Canonical", which it is not.

I'm with you on the "it's not explicitly-for-profit" point at the moment, but it is set up in a way that it could change at any point. Whether it's set up that way deliberately or not, we can only guess.

Anyway, Ubuntu derivatives are approaching the topic with this in mind. Linux Mint forbids snapd from being installed via apt (https://www.theregister.com/2020/06/02/linux_mint_team_snap/), and elementary OS goes a step further and is working on making its entire app ecosystem flatpak-exclusive (https://blog.elementary.io/elementary-appcenter-flatpak/).

Re:Sosumi Snap – Download and Install macOS in Ubuntu by kodah on Tuesday January 19, 2021 @11:52AM (#25835394)
I used the words "almost entirely" which is confusing, I will admit. I don't use snap for the same reasons. That said, what's being postulated by multiple users here is blatantly false.
Re:Sosumi Snap – Download and Install macOS in Ubuntu by j16sdiz on Monday January 18, 2021 @11:55PM (#25830141)
He refers to the snapcraft, not the snap manager https://snapcraft.io/ , https://snapcraft.io/sosumi
Re:Sosumi Snap – Download and Install macOS in Ubuntu by kodah on Tuesday January 19, 2021 @12:30AM (#25830315)
I am still not seeing how snapcraft.io is "explicitly for-profit". eg: https://snapcraft.io/thunderbird
Re:Sosumi Snap – Download and Install macOS in Ubuntu by dannyw on Tuesday January 19, 2021 @02:45AM (#25830946)
A private company is for-profit by definition. They may not be monetising it now, but that’s because they’re in the growth phase.
Re:Sosumi Snap – Download and Install macOS in Ubuntu by kodah on Tuesday January 19, 2021 @10:22AM (#25834244)
You don't get to make assertions based on speculation. Across Linux there have been an infinite number of package managers, sometimes ones that integrate each other's protocols like how the PopOS store integrates flatpak. Is PopOS or the PopStore now explicitly for profit despite the fact that it doesn't sell a single thing?
Re:Sosumi Snap – Download and Install macOS in Ubuntu by kortilla on Tuesday January 19, 2021 @04:17AM (#25831465)
Except for non-profit companies, which are...
Re:Sosumi Snap – Download and Install macOS in Ubuntu by xkcd-sucks on Monday January 18, 2021 @10:42PM (#25829755)
The name reflects this observation: https://en.m.wikipedia.org/wiki/Sosumi
Re:Sosumi Snap – Download and Install macOS in Ubuntu by panpanna on Tuesday January 19, 2021 @06:37AM (#25832437)
There are fully working osx vagrant images on GitHub, so why should this surprise you?
Re:Sosumi Snap – Download and Install macOS in Ubuntu by You-Are-Right on Tuesday January 19, 2021 @07:27AM (#25832812)
You good law and order man! Earth is such a nice planet because many of you exist!