8 ms·
All computer security relies on obscurity, because all computer code can be numerically represented, and numbers are not secret. TLS? SSH? They are considered
by snowwrestler 12y ago
All computer security relies on obscurity, because all computer code can be numerically represented, and numbers are not secret.
TLS? SSH? They are considered "secure" because the numbers they use are really, really, really obscure. So obscure that it would take too long to find them through any kind of naive search, to be useful.
Security is not binary, though. Anything that extends the naive search time extends the security. Even if hiding the source code only doubles the search time for an exploit, that's still an improvement.
Where people get in trouble is by overestimating the time extension. For example, by assuming that secret code can never be exploited because it's secret.
That's where the scorn for "security by obscurity" comes from. Not because obscurity is useless, but because the value of obscurity is so easily overestimated.
- zAy0LfpBZLC8mAC 12y agoYour definition of secrecy is missing the point. By your definition, nothing can be secret, as anything can be represented as numbers. Secrecy comes from not knowing which number is the correct one, not from not being able to construct the number in principle. The useful distinction that is usually made between secrecy and obscurity hinges essentially on how easy it is to swap out the thing that's unknown to the attacker that security depends on. If your crypto key leaks, you generate a new one, and you are secure again, which is why the crypto key is a secret. If your source code leaks, no such thing, which is why hiding it is obscurity.