News for hackers. Stuff that matters.
Re:Local-first software: You own your data, in spite of the ... by mrob on Friday May 03, 2019 @04:12AM (#19816489)
It is not inherently spyware, because fully homomorphic encryption exists. This in theory allows cloud computing providers to operate with no knowledge of their customer's data or computations. It's in general too computationally expensive to be practical, but that's not the same as being impossible.

https://en.wikipedia.org/wiki/Homomorphic_encryption

Re:Local-first software: You own your data, in spite of the ... by simion314 on Friday May 03, 2019 @04:20AM (#19816535)
If I encrypt the data how is the service able to handle it?

As an example you offer an online document cleaner, the user uploads his document and you do the magic on it, but if you encrypt the document then the backend can't read it. The document needs to be decrypted somewhere.

Re:Local-first software: You own your data, in spite of the ... by mrob on Friday May 03, 2019 @04:46AM (#19816661)
The point of homomorphic encryption is that you don't need to decrypt it. Fully homomorphic encryption allows for arbitrary computations on encrypted data. This is mostly of theoretical interest now, but it's mathematically possible.
Re:Local-first software: You own your data, in spite of the ... by sokoloff on Friday May 03, 2019 @07:59AM (#19817569)
Could I write a spelling and grammar checker that works under such a system? Or a language translation service. Or a red-eye reduction or image filtering (Instagram/Snapchat type filters) algorithm on photos? In a context where the author of the document is not the same and doesn’t trust the author of the algorithm(s) and both authors wish to keep the details of their content/algorithm hidden from the other party.

It’s a genuine question for which I’ve done a small amount of google/Wikipedia reading, but I suspect the answer is “no, of course not”, but I’ve been surprised before by tech/crypto solutions that I didn’t know the details of.

Re:Local-first software: You own your data, in spite of the ... by taejo on Friday May 03, 2019 @08:16AM (#19817681)
In theory, yes, though the performance is not such that you'd want to run complex algorithms on large datasets.
Re:Local-first software: You own your data, in spite of the ... by sokoloff on Friday May 03, 2019 @12:17PM (#19819692)
Could you succinctly describe (roughly) how to do language translation or grammar checking under such a system? I can’t grasp it...
Re:Local-first software: You own your data, in spite of the ... by taejo on Monday May 06, 2019 @08:02AM (#19838587)
The FHE systems support a couple of basic operations, which you'd have to compile your language translation algorithm down to. It'd be pretty similar to building your language translation algorithm out of transistors.
Re:Local-first software: You own your data, in spite of the ... by anonymousDan on Friday May 03, 2019 @04:46AM (#19816669)
No. This is exactly the problem homomorphic encryption solves, albeit slowly. For an alternative more practical approach see Intel SGX.
Re:Local-first software: You own your data, in spite of the ... by feanaro on Friday May 03, 2019 @05:23AM (#19816792)
It is the same as being currently practically impossible. Which may change in the future, of course, but doesn't help us particularly with the current situation.
Re:Local-first software: You own your data, in spite of the ... by gsich on Friday May 03, 2019 @04:42AM (#19816639)
So it's spyware unless they use homomorphic encryption?
Re:Local-first software: You own your data, in spite of the ... by teddyh on Friday May 03, 2019 @05:24AM (#19816799)
…which nobody does.
Re:Local-first software: You own your data, in spite of the ... by nannal on Friday May 03, 2019 @06:03AM (#19816968)
Yet
Re:Local-first software: You own your data, in spite of the ... by TeMPOraL on Saturday May 04, 2019 @08:22AM (#19825994)
AFAIK homomorphic encryption exists only on paper; it's not something you can find in use within SaaS applications. Until that changes, GP's point stands.