Live data from Hacker News

Ask HN: Is trusted client compute possible?

news.ycombinator.com

1–5 of 5 posts

Ask HN: Is trusted client compute possible?

#1
I'm wondering if I can have a client build some artifact and upload the artifact to a cache server that redistributes it. Of course the problem is that a malicious client could upload something evil, so I would need some way of proving that the client built the thing it was supposed to. Is it possible to trust client computation?

Re: Ask HN: Is trusted client compute possible?

#2
If you have a large client population, you could try something where you pick e.g. ten clients at random to build-and-upload the same artifact, and if they all come up with exactly the same artifact, and collusion between them is sufficiently implausible, you could decide to trust it.

Apple also has something for iOS called "App Attestation", where you could publish an app to do the building, and then if your server receives an upload from a successfully-signed app instance, you would know that the app code itself was not modified: https://developer.apple.com/documentation/devicecheck/establ...

This is all assuming you can't just do the build yourself to verify what they did. (If you could, why would you need them to upload it?)

Re: Ask HN: Is trusted client compute possible?

#3
post #2

If you have a large client population, you could try something where you pick e.g. ten clients at random to build-and-upload the same artifact, and if they all come up with exactly the same artifact, and collusion between them is sufficiently implausible, you could decide to trust it. Apple also has something for iOS called "App Attestation", where you could publish an app to do the building, and then if your server…

I think this is how BOINC does it too:

https://github.com/BOINC/boinc/wiki/JobReplication

https://boinc.n-helix.com/trac/wiki/ValidationSummary

--------

Unrelated, there is also https://en.wikipedia.org/wiki/Homomorphic_encryption

Re: Ask HN: Is trusted client compute possible?

#4
post #3
post #2

If you have a large client population, you could try something where you pick e.g. ten clients at random to build-and-upload the same artifact, and if they all come up with exactly the same artifact, and collusion between them is sufficiently implausible, you could decide to trust it. Apple also has something for iOS called "App Attestation", where you could publish an app to do the building, and then if your server…

I think this is how BOINC does it too: https://github.com/BOINC/boinc/wiki/JobReplication https://boinc.n-helix.com/trac/wiki/ValidationSummary -------- Unrelated, there is also https://en.wikipedia.org/wiki/Homomorphic_encryption

Thanks for the links!

Re: Ask HN: Is trusted client compute possible?

#5
post #2

If you have a large client population, you could try something where you pick e.g. ten clients at random to build-and-upload the same artifact, and if they all come up with exactly the same artifact, and collusion between them is sufficiently implausible, you could decide to trust it. Apple also has something for iOS called "App Attestation", where you could publish an app to do the building, and then if your server…

So you have to use probabilistic methods, makes sense thanks!