News for hackers. Stuff that matters.
Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by eru on Thursday May 25, 2023 @04:12AM (#36068214)
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

[0] Ok, unless you use undecidable instances or something like that.

Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by Attrecomet on Thursday May 25, 2023 @06:24AM (#36068946)
> 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.

Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by eru on Friday May 26, 2023 @05:20AM (#36081870)
Why? People have eg written proven-correct C compilers. And those things ain't 'simple'.
Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by ilyt on Thursday May 25, 2023 @06:25AM (#36068952)
> Just don't trust that code,

That's even harder problem to solve

Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by zamalek on Thursday May 25, 2023 @06:54AM (#36069147)
Any program worth obfuscating is not worth trusting.
Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by twelve40 on Thursday May 25, 2023 @12:57PM (#36073143)
Among 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?
Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by bentcorner on Thursday May 25, 2023 @02:24PM (#36074205)
Some people do take it that seriously: https://www.gnu.org/software/librejs/
Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by eru on Friday May 26, 2023 @05:25AM (#36081912)
People 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.

Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by Technotroll on Thursday May 25, 2023 @07:49AM (#36069531)
Wouldn't this be a great case for a sort of machine or program that delivers Zero Knowledge Proofs for each input and output?
Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by eru on Friday May 26, 2023 @05:26AM (#36081919)
You 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?

Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by s3p on Thursday May 25, 2023 @12:42PM (#36072956)
Yes 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...
Re:UCLA Computer Grad Constructs “Crown Jewel of Cryptography” by eru on Friday May 26, 2023 @05:23AM (#36081893)
Huh, 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.