9 ms·
Among messaging cryptographers, it's not even an argument. Serious secure messengers have been designed to avoid non-repudiation since OTR. Non-repudiation is a
by tptacek 6y ago
Among messaging cryptographers, it's not even an argument. Serious secure messengers have been designed to avoid non-repudiation since OTR. Non-repudiation is a vulnerability: once counterparties have authenticated each other's messages, the legitimate need for authentication is gone; allowing random strangers to authenticate messages concedes information to them.
Here, have a link, from 2004:
https://otr.cypherpunks.ca/otr-wpes.pdf https://otr.cypherpunks.ca/otr-wpes.pdf
- baobabKoodaa 6y ago> once counterparties have authenticated each other's messages, the legitimate need for authentication is gone; allowing random strangers to authenticate messages concedes information to them. As you know, there are many legitimate needs to authenticate messages of strangers. For example, when you order products over the internet, an e-mail of your purchase is often the only proof of what was agreed in the purchase. If there is later a dispute between the buyer and the seller, the email can be used to repudiate lies. In particular, if a third party (like a court) can authenticate the message, the honest party can convince the third party that the dishonest party is being fraudulent. You are exaggerating when you claim that there is no legitimate need to authenticate messages as a third party.
- tptacek 6y agoNo, you have confused messaging cryptography with "all of cryptography".
- baobabKoodaa 6y agoYou said "there is never a legitimate need to do X". I gave an example of a legitimate need to do X. Your rebuttal is that... I'm confused? Yeah, you're gonna have to be more specific than that if you want to convince anybody.
- ska 6y agoThe point was that you pointed out a use case for some sort of cryptographic signing, not for (ab-) using DKIM for this purpose rather than what it was designed for. I don't understand enough about all the issue to really know how I feel about it, but clearly there are trade-offs here that at least argue against expanding the scope.
- baobabKoodaa 6y ago> His point was that you pointed out a use case for some sort of cryptographic signing, not for (ab-) using DKIM for this purpose rather than what it was designed for. First, thank you for the clarification. Second, to answer tptacek's point, I understand that authenticating emails as a third party is an unintended side effect of the DKIM protocol. I understand that cryptographers would like people to move onto using other protocols for purposes like this. However, the suggestion that Google should periodically publish and rotate their secret keys, does not achieve this goal in any way. If Google were to do this, the webstore that you purchase items from, would not suddenly start using different protocols to authenticate purchase receipts, they would continue to send regular email... but those emails could no longer be authenticated. Or if we go back to the example in OP, the politician that's admitting to crimes over email, they're certainly not going to switch over to another method of documenting their crimes. Edit: I was incorrectly using GPG as an example. I removed the incorrect example and let the point stand without it.
- tptacek 6y agoIt's just really clear that people in this thread are trying to approach this from first principles without any engagement in the field that they're discussing. That's a fun thing to do as, like, a game or a way to pass the time, and I guess that's what HN is, but it's still crazymaking, because essentially every paper written about messaging cryptography refutes this comment. Cryptographers would like to move people onto GPG? The fact that GPG is non-repudiable and shouldn't be is one of the 2 motivating use cases for OTR, and later Signal. Nobody is trying to get people to use GPG.
- red_trumpet 6y ago> As you know, there are many legitimate needs to authenticate messages of strangers. I agree with you here. However, EMail was never designed to do this. Eg if you order products over the internet, how do you know that your opposing party keeps their DKIM key safe?
- baobabKoodaa 6y ago> I agree with you here. However, EMail was never designed to do this. Eg if you order products over the internet, how do you know that your opposing party keeps their DKIM key safe? I get that email and DKIM was never designed for this, it's a side effect. Fingers were not designed for finger print evidence, but it's still nice to have evidence from finger prints, as a side effect from touching things. And the problem of key storage / keys leaking will not disappear even if you change to some different protocol.
- pwlb 6y agoThis sounds like a Law&Order mindset. No, its generally not a great idea to get fingerprints of everything.
- lxgr 6y ago> As you know, there are many legitimate needs to authenticate messages of strangers. Absolutely, but this should be an opt-in feature (and not provided server-side, at that).
- Red_Leaves_Flyy 6y ago>this should be an opt-in feature (and not provided server-side, at that). Why?
- lxgr 6y agoIt just feels like the baseline expected behavior of a communications system to me that makes no explicit claims otherwise. Legal signatures are heavily ritualized (blue/black ink only, initial here and sign there etc.) in most societies for good reason – it makes the signer stop for a moment and reconsider what they are doing, if the document they are signing is truly aligned with their intentions and so on. As another analogy/food for thought: We have the technical means to record every conversation we ever have, digital or analog, public or private. Should we? If not, why not?
- baobabKoodaa 6y ago> It just feels like the baseline expected behavior of a communications system to me that makes no explicit claims otherwise. Why do you feel like email "makes no explicit claims" about the authenticity of emails? Laypeople are not even aware of the possibility of spoofing the sender field in emails. Technical people can check the "explicit claims" of a protocol like e-mail, SPF, DKIM, etc. to understand what it claims to do. In other words, email makes both implicit claims, and explicit claims about the verifiability of the sender field.
- hyperpape 6y agoAs you know, there are many legitimate needs to publish naked pictures of your body to the entire internet, but most people want to keep them private. Defaults matter. What makes this hard is that email is responsible for too much crap. No single user interface should carry: 1. Party invites 2. Private messages to your spouse, therapist, pastor, etc. 3. Marketing messages 4. Password recovery requests 5. Financial transactions We've just shoved them all into email because it's there.
- baobabKoodaa 6y agoI agree that e-mail is horrible, and I would prefer if contracts (like purchase receipts) moved off e-mail to something else, but that's tangential to the point. If Google started to publish and rotate DKIM keys, the world wouldn't suddenly move away from email.
- GoblinSlayer 6y agoReceipts can be signed with gnupg, it actually provides non-repudiation guarantee you want, DKIM doesn't provide that, it's only for journalists.
- baobabKoodaa 6y ago> Receipts can be signed with... In the real world it doesn't matter which cryptographic protocols are theoretically available for use. What matters is which protocols everyone else is using. For example, in the case of receipts for purchases on the web, literally everyone is using email. You will not be able to get amazon to sign a receipt with gnupg. If you want to embark on a path of convincing the world to move away from email, that's great, good for you. Just don't pretend like removing non-repudiation from e-mails is a quest on that path. It's not.
- tptacek 6y agoWhich is why, when email providers can do very simple things that improve privacy for all their members, even though email is irretrievably insecure, they should do so, as harm mitigation. Your mail spool will eventually get owned up. The least they can do is make it deniable.
- im3w1l 6y agoYeah the man-off-the-street expects that if you have an email in your inbox it's proof positive that it was received like that. They don't know that you can upload counterfeit emails using imap or anything like that. Introducing non-repudiation would violate everyone's expectations and create a total mess. I'm saying this as someone who often and deliberately uses deniable messengers.
- baobabKoodaa 6y ago> Yeah the man-off-the-street expects that if you have an email in your inbox it's proof positive that it was received like that. They don't know that you can upload counterfeit emails using imap or anything like that. Introducing non-repudiation would violate everyone's expectations and create a total mess. If the "man-off-the-street" expects email to have non-repudiation property, then how exactly would "introducing non-repudiation" violate their expectations?
- im3w1l 6y agoMy bad, meant to say introducing "repudiability".
- saurik 6y agoFWIW, I am pretty sure I agree with you/OTR, but the IETF Messaging Layer Security (MLS) people disagree for not-always-trivially-dismissible reasons (indirect link because I am lazy). https://news.ycombinator.com/item?id=25101825 https://news.ycombinator.com/item?id=25101825
- tptacek 6y ago(a) I wasn't aware of this. (b) Thanks for the link! (c) The IETF is such a shitshow for cryptography.
- josephg 6y agoThe IETF is an open organisation. Specs are written & ratified by the people who show up. And often that means folks from large companies. If you don’t like that status quo, get involved. They would love to have you @tptacek.
- cwyers 6y agoThe problem isn't any one individual who is/isn't involved, it's the consensus mechanism. If you bring in a great sous chef and ask them to make you an omelet, they will make a great omelet. If you bring in a committee of people -- some sell omelet pans, some run hotel chains where free omelets are part of the package, some want you to adopt their vegan egg substitute -- you are not going to get a great omelet spec. Adding one omelet expert to the committee doesn't add anything over just asking an omelet expert to make some eggs.
- tptacek 6y agoThey would absolutely not love to have me, and I keep away from their mailing lists as much as a favor to them as to my own sanity. I'm not alone in the wilderness on this opinion that IETF process produces abysmal cryptography, by the way; Bernstein beat me here by 2 decades.
- EGreg 6y agoI do have a question though, as a relative amateur. It’s more on a sociological level. Suppose you are in an organization, and it needs to figure our whether an employee was saying a Bad Thing such as giving out company secrets or cursing people out “off the record”. Yes, even with end to end encryption, Facebook and others can still let you prove the other person sent the messages when you need. The question is whether that is a good thing: https://facebook.com/help/messenger-app/1165699260192280 https://facebook.com/help/messenger-app/1165699260192280 My personal feeling is yes, yes it is. I make a more extensive analysis here: https://news.ycombinator.com/item?id=25030085 https://news.ycombinator.com/item?id=25030085
- brightball 6y agoWhy not just rotate them frequently? Like weekly? Or daily even? ProtonMail makes you setup 3 CNAMEs for DKIM just so they can frequently rotate without your intervention or disruption. Sendgrid uses 2 for the same thing.
- tomc1985 6y agoWhat's stopping someone from recording each public key as it is entered into service and providing a DKIM authentication service with it? There are already such things for domain data.
- mspecter 6y agoHi! Check out our Usenix 2021 paper on exactly this topic. The key insight is to release private keys over time: http://www.mit.edu/~specter/blog/2020/dkim/ http://www.mit.edu/~specter/blog/2020/dkim/
- upofadown 6y agoCryptographers don't have some sort of monopoly on what is right or what makes sense. Deniability is actually a good example of this. The idea of deniability as some sort of desirable feature in messaging came out of nowhere. It wasn't anything that anyone asked for or worried about before the OTR proposal suggested it. It is a cool idea but it has little practical value. That is particularly true when it depends on falsely claiming some sort of forgery when you know you actually said something embarrassing.
- tptacek 6y agoTranslation: privacy is only good when it applies to speech I support.
- tonyztan 6y agoEmail is not a "serious secure messenger." It is the equivalent of writing a letter and signing your name to it. Email is useful for when you want a paper trail. Otherwise, you would use a secure messenger instead.