4 ms·
Just don't trust that code, and don't run it? You should require positive proof that code does what you want. Similar to how eg Haskell's type systems doesn't
by eru 3y ago
Just don't trust that code, and don't run it?
You should require positive proof that code does what you want.
Similar to how eg Haskell's type systems doesn't have to solve the halting problem [0]: it just rejects some programs that would be ok, but don't conform to the type system.
See also proof-carrying code. https://en.wikipedia.org/wiki/Proof-carrying_code https://en.wikipedia.org/wiki/Proof-carrying_code
[0] Ok, unless you use undecidable instances or something like that.
- Attrecomet 3y ago> You should require positive proof that code does what you want. That's just saying you should only ever solve simple problems with your computer.
- eru 3y agoWhy? People have eg written proven-correct C compilers. And those things ain't 'simple'.
- ilyt 3y ago> Just don't trust that code, That's even harder problem to solve
- zamalek 3y agoAny program worth obfuscating is not worth trusting.
- twelve40 3y agoAmong other things, tons of desktop software and most mobile apps and even javascript you run from most websites is obfuscated. How is it possible to avoid that? Do you run 100% open source for everything with javascript disabled?
- bentcorner 3y agoSome people do take it that seriously: https://www.gnu.org/software/librejs/ https://www.gnu.org/software/librejs/
- eru 3y agoPeople typically run website's javascript in a sandbox. Mobile apps also typically have tightly controlled permissions these days. And, of course, people don't typically review most softwares's sources anyway. They rely on trust and reputation.
- Technotroll 3y agoWouldn't this be a great case for a sort of machine or program that delivers Zero Knowledge Proofs for each input and output?
- eru 3y agoYou could deliver a zero knowledge proof that the program you are trying to sell me is benign, without revealing eg the source of the program. I'm not sure what you would do with a zkp of each input and output of the program?
- s3p 3y agoYes great so let's not use any software at all on our machines! only things we can program ourselves or are open-source. what a dystopia we live in...
- eru 3y agoHuh, why? First, for already closed source programs the obfuscation results don't make a difference at all. They remain just as obscure before as they are now. (Unless you routinely try to de-compile all closed source programs?) The obfuscation result in the submitted article really only makes a difference to open source programs. But: thanks to advances in mathematics and cryptography, a vendor can prove to you that their program does what it's supposed to, without having to reveal the source code or anything else about the program.