News for hackers. Stuff that matters.
Re:Signal partners with Microsoft to bring end-to-end encryp... by lukedoolittle on Thursday January 11, 2018 @06:17PM (#16128997)
I tried to make a demo app to perform very simple HTTP p2p and found this difficult on iOS. When an app is backgrounded you have ~17 seconds to stop execution or the OS will kill any active threads UNLESS the activity is among the Apple permitted exceptions. (Note that there is no iOS SyncThing app). In Android it is possible to use IntentService as a single threaded background HTTP server. It works for the most part but can be a little flakey. I'm not 100% sure how the OpenGarden SDK accomplishes this but I'm interested. My guess is that it makes heavy use of Bluetooth, which is one of the Apple permitted exceptions to the backgrounding rule.
Re:Signal partners with Microsoft to bring end-to-end encryp... by zimpenfish on Friday January 12, 2018 @07:33AM (#16132346)
> there is no iOS SyncThing app

There’s fsync() but it only syncs when you launch the app - what I think you meant is “there’s no continuously syncing iOS SyncThing app”.

Re:Signal partners with Microsoft to bring end-to-end encryp... by lukedoolittle on Friday January 12, 2018 @01:44PM (#16135206)
Yes, thanks for the clarification. Continuous/background syncing is the difficult task.
Re:Signal partners with Microsoft to bring end-to-end encryp... by princekolt on Friday January 12, 2018 @11:09AM (#16133891)
Why not perform the invoking and setup of the call via a server, but then perform the actual call on p2p once the device is awake and the app on the foreground?