News for hackers. Stuff that matters.
Re:Electron apps cannot be submitted to the Apple store by saagarjha on Sunday November 03, 2019 @07:14PM (#21437773)
Hence why you should audit your third-party dependencies in cases like these.
Re:Electron apps cannot be submitted to the Apple store by jonny_eh on Sunday November 03, 2019 @11:35PM (#21439074)
How exactly?
Re:Electron apps cannot be submitted to the Apple store by saagarjha on Monday November 04, 2019 @12:29AM (#21439258)
I would assume that a quick grep through your project for the symbols mentioned would tell you where the issue is.
Re:Electron apps cannot be submitted to the Apple store by rdevnull on Monday November 04, 2019 @04:56AM (#21440199)
it would but it wouldn't solve the problem. This would require the developer to modify electron and basically run his own branch. It would then make your package possibly acceptable (but attention here: as Apple clearly stated keeping too use private APIs can get you banned so if you miss something you can lose your access to the apple store) leaving however everyone else using electron with the same problem. So the solution has to come from Electron.
Re:Electron apps cannot be submitted to the Apple store by JohnFen on Monday November 04, 2019 @12:41PM (#21444087)
> So the solution has to come from Electron.

And until it does, developers should not use Electron.

There's a number of reasons why I refuse to use Electon-based apps, and this is one of them.

Re:Electron apps cannot be submitted to the Apple store by drewbug on Monday November 04, 2019 @12:54AM (#21439335)
what if the function calls are generated with macros or something?
Re:Electron apps cannot be submitted to the Apple store by justinclift on Monday November 04, 2019 @02:55AM (#21439688)
Isn't it literally the responsibility of the developer to figure it out, instead of just ignoring it because it's potentially hard?
Re:Electron apps cannot be submitted to the Apple store by saagarjha on Monday November 04, 2019 @01:49AM (#21439475)
grep the generated binary.
Re:Electron apps cannot be submitted to the Apple store by winkeltripel on Sunday November 03, 2019 @10:12PM (#21438713)
I suspect that most devs don't do that. I can't imagine finding the time fir that.
Re:Electron apps cannot be submitted to the Apple store by josephg on Monday November 04, 2019 @03:11AM (#21439775)
Who do you imagine is responsible for making sure your app doesn’t contain malware?

The only answer is that as a developer, you are responsible. Yes, we have to make calculated risks. But the buck stops at you. There is nobody else who can take responsibility for the contents of your app.

Re:Electron apps cannot be submitted to the Apple store by rdevnull on Monday November 04, 2019 @07:50PM (#21448508)
you simply notarized the app and you know that there is no malware. Also we are talking about ElectronJS and Chromium -- not exactly untreatable sources. Note that apple does check for malware and quality on the upload stage itself (now done via transporter) so it wouldn't even make it to then review state if something is dodgy.
Re:Electron apps cannot be submitted to the Apple store by josephg on Tuesday November 05, 2019 @03:33PM (#21456367)
Apple can’t magically tell that there’s no malware in an app you upload. There is no automated scan which can detect all security vulnerabilities or back doors in code. And we’re talking about electron plus hundreds to thousands of npm modules - which contain who knows what.

If you pull in some bad modules, directly or transitively, and as a result your app steals my data or worse, that’s on you for shipping malicious code to my computer. There is no one else who can be responsible for that. Not Apple. Not the user. You.

Re:Electron apps cannot be submitted to the Apple store by JohnFen on Monday November 04, 2019 @01:18PM (#21444565)
I've done that over my entire career. It's always been a requirement. To say you can't find time for it is the same as saying that you can't find time to complete development.