4 ms·
It's secure if and only if there's a formal proof.
by rwmj 9y ago
It's secure if and only if there's a formal proof.
- adrianN 9y ago"Secure" sounds like a binary attribute but it's actually not. A formal proof doesn't save you from errors in the specification. At some point you need trust, the amount of trust needed is inversely proportional to the security.
- dreamdu5t 9y agoWithout a formal proof there is no measure of correctness at all.
- adrianN 9y agoLots of passing tests mean nothing to you?
- monocasa 9y agoWhen an exploit only needs one edge case not handled right? No, lots of unit tests means nothing. Maybe less than nothing due to the false sense of security they seem to give you.
- 45h34jh53k4j 9y agolets not go too far! tests can provide a security advantage over regressions or bugs introduced in the future. They are necessary but not sufficient to prove a particular security level.
- adrianN 9y agoSo you trust a software that has had zero testing equally to a software like sqlite that has extensive testing?
- elygre 9y agoThat's like saying that the world was flat before they could prove that it is round.
- Spivak 9y agoNo, that's like saying that we don't know what shape the world is before we could prove that it is round.
- rf15 9y agoNo, it's like saying it is round "if and only if" we can prove that it is round.
- makapuf 9y agoWhich the scientifical method tells you to verify experimentally, i.e. with tests.
- rf15 9y agoNo, the point is: The sphere doesn't care if you can prove if it is a sphere or not, it stays a sphere. If you CAN TELL if it is (or not) is a different matter entirely, so it doesn't work that you say "if and only if it is proven" when you make claims about something having a certain property. i.e. Just because I can't tell if you have two hands to type this doesn't mean you don't have them. "You have two hands if and only if there's a formal proof that you have two hands"
- floatboth 9y agoWho proves the proof though? :)