As noted earlier:
- simpler standards
- adversarial test suites
- education
That's the way for better crypto. Not "the holy church of security experts".
And the context matters. "goto considered harmful" - esque advices without context are slogans.
As noted earlier:
- simpler standards
- adversarial test suites
- education
That's the way for better crypto. Not "the holy church of security experts".
And the context matters. "goto considered harmful" - esque advices without context are slogans.
@jackdaniel Indeed. Yesterday''s "trust the experts" has been mutating into "trust the tech bros" for a while already.
@screwlisp @4censord @kirtai@tech.lgbt
@jackdaniel A question I'd like to see explored is: How can we reduce the need for crypto? How else can we establish trust between parties communicating digitally?
I guess banks will always need crypto, but they also have the means to hire crypto experts. But why does my blog need HTTPS? Could we have simpler tech to establish trust between my blog and its readers?
The argument goes as follows: between you and the server there is ISP. What follows:
1) If you can't ascertain that the message was not tampered with, then ISP can inject ads, or MITM can inject malware
2) if you don't have your communication encrypted, then ISP (or MITM) can learn more about you - listen to your passwords, build a profile for your preferences etc
And both points are valid in untrusted network (internet is very much that). IMO cryptography is not the problem. As noted in sibling messages, crypto should be easier to implement and easier to test against known attack vectors; relevant math is often not that hard (to implement); the problem comes from the dressing.
Take as an example the Heartbleed attack - it was exploited by using a feature of the protocol that nobody uses in practice (heartbeat).
EDIT so cryptography standards should limit their scope to:
- signing messages
- encrypting the channel
and leave everything else to the application layer.
What's more (and implicit from the above), the application layer should be fully oblivious about whether the encryption is used or not, it should be handled transparently on the OS level.
Then applications don't take the responsibility for whether data is encrypted or not and it is on sysadmins.
EDIT2 and of course, making it transparent to applications and depend on the OS can be screwed up royally :)
@jackdaniel That's the engineering answer, which presumes a certain level of abstraction (server/client, independently of content and user) and the quest for a universal solution.
My blog requires less protection than a bank because the threat model is very different. No big entity cares about my blog. They would envisage MITM attacks or injecting malware only if my blog is one out of many sites they could attack at the same time.
@jackdaniel From that point of view, my blog should be based on something like Gemini, rather than the same tech stack that banks use. But unlike today's Gemini implementations, the blog tech stack should be interoperable with the bank tech stack. Linking back and forth in particular.
I agree that there are different threat models for a bank and for a blog, where the former is far more critical.
That said, the latter also has issues, most notably injecting ads and tracking users. They don't have to care explicitly about your blog if they can do that for "all unencrypted traffic".
I think that the universal solution is better than maintaining separate compatibility bridges (your sibling post). You may have one standard (that ensures compatibility) and multiple implementations.
But all that hangs on the requirement, that the standard must be reasonably easy to implement and reasonably easy to test against known malicious vectors.
Alternative (interoperable stacks) kind of defeats the point, because now you have:
[n implementations] - [1 standard]
and then you'd have
[n A implementations]
-
[n A-B bridges]
-
[n B implementations]
_I don't think_ that this would be a good outcome.
@jackdaniel It's not an obvious trade-off for me. One aspect is efficiency vs. robustness through diversity. The first one is much easier to quantify than the second, so efficiency usually wins.
Diversity is possible at the protocol level and at the implementation level, with different trade-offs. You seem to favor the implementation level. Fine with me!
what can I say, I'm an engineer ;)
and encryption is arguably a small matter of engineering