660 points · by smartmic · 7y ago · 248 comments
I think they missed the the bit where Matrix is called Matrix because it bridges (matrixes) the existing networks (Slack, IRC, Telegram, Discord, XMPP, etc) in, rather than needing to convince everyone to join. But no matter, we'll just provide a COI bridge if this takes off :)
> "Jabber is a new project I recently started to create a complete open-source platform for Instant Messaging with transparent communication to other IM systems(ICQ, AIM, etc).
Matthew Hodgson, 2019:
> I think they missed the the bit where Matrix is called Matrix because it bridges (matrixes) the existing networks (Slack, IRC, Telegram, Discord, XMPP, etc) in, rather than needing to convince everyone to join.
* Wonky unwieldy hypertext systems instead of the WWW
* The Nomad instead of the iPod
* The Blackberry instead of the iPhone
* GNU Hurd instead of Linux
* Geocities instead of Facebook (-- OK maybe that one's a wash :-)
The point is, sometimes it's worth trying again until you can make it work.
> * Wonky unwieldy hypertext systems instead of the WWW
Which ones? Gopher wasn't hypertext, but it is still going and still a good idea. A conversion to Gopher would be a huge usability and accessibility upgrade for many current websites.
> * The Nomad instead of the iPod
iTunes is garbage. iPods sucked until (certain models) had Rockbox ported to them.
> * The Blackberry instead of the iPhone
How about the Nokia n900 instead?
> * GNU Hurd instead of Linux
I'm "stuck" with BSD. Send help?
Ambitious projects are cool and should be encouraged. Being an ignoramus about existing developments (not saying that that is what the people behind Matrix are doing) and getting distracted by anything that claims novelty should not be. Hoare had a great bon mot about this: "Here is a language [Algol 60] so far ahead of its time, that it was not only an improvement on its predecessors, but also on nearly all its successors."
We don't have much choice!
But hey, we are using IMAP and Mail which is already in the picture.
Hackint recently shut down their Matrix bridge due to how maintenance-intensive it was (and the fact that it logged all messages in its own database).
It's great in theory but impractical to use.
The Hackint story is a different one; the bridge itself is not maintenance intensive at all. But it is true that the default Matrix server implementation is resource & relatively admin heavy; we're working on that currently. Meanwhile we're also fixing the data retention behaviour - https://github.com/matrix-org/matrix-doc/blob/matthew/msc176... etc.
The ridiculous crashing every few minutes thing of the IRC bridge has been fixed enough I haven't noticed a problem for quite a while.
I have a looooot of disagreements with matrix, which I have discussed and will discuss with them, but honestly they're not doing it completely wrong anymore.
\o/ :) The other stuff is very much on our radar, fwiw (and in an ideal world i hope we'll finally be able to implement a services or TS6-based bridge). We've been a bit distracted over the last few months with an XMPP bridge (matrix-bifrost) but will be back on IRC bridging shortly.
But any bridge will be restricted to the lowest common denominator, often you get into weird corner cases where the two ends of the bridge work subtly different.
A Telepathy dev wrote a long post on the subject a while back, worth reading: https://mail.gnome.org/archives/desktop-devel-list/2017-Sept...
Yet, there is no option to bridge without involving the administrator of all servers you want to talk to.
That and I had a very bad experience with the other bridges. Outside of IRC it's basically unusable.
We should run a general purpose email bridge though, and in fact there's a massive public sector outfit asking for such a thing currently so it'll probably happen sooner than later.
In terms of Matrix not being a spectacular success - well, that's a matter of perspective. The intention for France is absolutely for it to federate with the public network (once there's are sufficient border gateways in place). And France is far from the only high profile Matrix deployment out there, it's just one that we can speak about. But eitherway, COI looks cool, and I hope it helps OX sell more mail servers :)
The aim seems to be to create a system that can replace centralized messenger solutions by allowing use of existing IMAP servers or hosting one yourself. I am not sure if this is correct but the article states that they are already supplying the software for three quarters of all IMAP servers worldwide and seem to be interested in connecting with Google to bring this to fruition.
Pretty interesting read (although only German) but it seems the marketing on this topic may have just started.
followed by
"After checking for server compatibility..."
Does this reduce the target pool? How much?
Also, how many people still use POP?
>"A COI client should check for COI support from the server first. it will CAPABILITY after having logged into the IMAP service. If the returned capabilities list contains the "COI" capability, then the client does not need to filter messages on the client side. It will also have more advanced options at its disposal, see the server side specifications for details."
The requirements are just an IMAP (or JMAP) server that conforms to the IMAP RFC:
>"The IMAP server may or may not be COI-compatible. The IMAP service MUST be compatible with IMAP v4rev1 as defined in RFC 3501, which is the case for almost any IMAP service in production." An SMTP service for sending messages. Sending services are also called Mail Transfer Agents (MTAs)."
> three quarters of all IMAP servers
doesn't not mean 3/4 of internet users (e.g. I expect Google's IMAP servers represent a disproportionately large number of users).
Dovecot is likely more likely to be used by a long tail of smaller nodes.
This... has a 'modern' website and not much more. The site starts with a page-filling image of a happy woman in an urban environment, she's clearly exited over something the lighted slab in her hand presents her. The thing sorely missing from the site is the download link and the link to the source repository where all those dreams are made true. It does contain one interesting piece of information though:
> COI for Developers
COI is the only ecosystem that provides openness, a strong messaging basis AND overcomes the network effect. With COI you don’t need to develop, host and maintain your own communication servers. Thanks to Delta Chat Core, as a client developer you do not even need to deal with IMAP directly.
Thanks to Delta Chat core... in other words, this is based on Delta Chat. According to one of the project founders they are cooperating with Delta Chat to ensure interoperability [1].
[1] https://fosdem.org/2019/schedule/event/chat_over_imap/ - "...We cooperate with Delta Chat open source project to bundle efforts and ensure interoperability. ..."
Great! Good luck to them.
EDIT: looks like delta.chat is open source https://github.com/deltachat/deltachat-desktop
It also includes a core library in C: https://github.com/deltachat/deltachat-core
The spec is documented here: https://github.com/deltachat/spec/blob/master/spec.md
"With XMPP and Matrix.org -based services you would still need to convince everyone to join your new network. Easy in theory, very complex in practice!"
I don't find that so problematic. People just needs to see a bit the inner workings to feel a bit comfortable and give it a chance.
Fundamentally, if you don't trust the decisions of the person you are talking with, you can't guarantee the privacy of your chats.
Hopefully once COI has a client, I can try that one out as well; if its android client supports multiple email accounts per install (unlike Delta.chat at the moment), it will almost certainly make its way into normal app rotation and evangelizing BBM/WA/Messages users to a more private, secure instant message client.
At the same time, I have to worry: SMTP is forever, but I'm not so sure that IMAP is forever.
Email is increasingly becoming a fragmented oligopoly, and the major players are promoting their own alternative protocols. IMAP is becoming a very optional legacy feature.
If the success of this project required additional integrations with EAS and Google's mail APIs, would you do the work or reject the idea on principle?
Indeed. I was surprised to see that Tutanota, a German privacy-oriented e-mail provider, only provides access via their web front-end. They don't support IMAP because according to them, they couldn't provide end-to-end encryption in combination with full-text search.
There is a mailing list though. At the very least they might add a 'why not (also) JMAP' bullet point to the website if you ask about it:
> […] join the COI developer mailing list by sending a mail to dev-join@coi-dev.org.
I would guess that they need IMAP to prevent the whole 'nobody uses it' problem.
also was there any tests how long does it take for delivery, because the message could hop around and could be scanned, added addotional headers or mess with those there.
Does it delete the messages that were read, or something? If it's really going to put all the messages,is it using some kind of dedicated folder?
Once people use this for their professional email address they may start to using it for their personal one too.
It's usually the other way around.
It's just not an urgent a problem as this is.
I'm aware that these battles have all been fought in the MSN/ICQ/AIM era too, but it looks like we're going to have to fight them again.
Why do you say that? I've implemented a couple of embedded IMAP clients over the years and I always found it pretty OK to work with?
Working with IMAP at a large company was my first "meh, how hard could it be" hubris moment. Their implementation must've had a decade of work put into it. Seemed bizarrely complex to me, so I started a side project of building my own. My little hero developer saves the day fantasy. Could've made your same HN comment early on when my PoC integrated with its first service. My side project never advanced beyond weekendware after I started seeing why it was hard.
Eventually, the guy that worked on it all that time quit over some political drama. They asked me if I wanted to maintain the project. I tried and basically quit over it.
Also, IMAP itself sucks. Did you know the spec doesn't require emails to have a message id? Also, no servers have to return your commands in order, and they don't have ids. So you'll code shit like "if the response looks like this, it must've matched up with this one command." I could go on and on about the nickel and diming that will happen to an IMAP client that you thought would once be simple.
Fun times.
I'm sure you know, but in case someone reads it and doesn't know it this is perfectly as intended: IMAP isn't a request-response protocol, it's more of a pub/sub protocol.
I'd like to see this split out into several parts, which could then be used together if necessary.
The basic idea -- how to format and transfer short-form (chat-style) messages using existing email standards -- is brilliant. This seems similar to how AMP describes a limited set of HTML, and would be worth defining carefully.
The management of distributed contacts and group lists seems to be a different problem entirely. Personally, I don't need this: I'm fine with using my existing address/contact lists of trusted friends, along with time-tested tools like mailing lists.
The idea of editing/deleting messages seems superfluous and complicated. I've never knowingly used a chat system that provided this feature, nor have I ever wished I had it.
Maybe I missed something, but I didn't see anything about how SMTP would be used. It seems that by the time a short message is wrapped up into its attachments and headers, then sent to to the appropriate SMTP server (along with login & negotiation), I've probably sent over 20KB. That's a lot of data for one tiny message.
I would love to be able to use COI without a special client at all, just my current email client. However, the spec seems to require certain headers that would generally be difficult to configure in most email clients.
I'm concerned that the spec does not include any discussion of error handling. There are many things that can go wrong, especially with an asynchronous protocol like SMTP/IMAP. How are those problems going to be handled?
Wouldn't it be possible and transparent to the protocol to use PGP for end-to-end message encryption? If the recipient has a public key, the client can automatically use that and the recipient's client could automatically decrypt it.
Otherwise it's pretty neat.
Access to your e-mail account allows you to reset password in most services associated with it.
People generally take issue with handing over access to their email account to third party services. People don't generally take issue with a client under your control accessing an account under your control.
And the solutions that are there and work like matrix or xmpp are no solution, because of user adaption? Hello... Users have to adapt your "protocol" as well and I don't see any added value... It's just an idea for chat over email which I can do right now with the right Client.
Ps matrix AND xmpp both support bridges for other protocols.
Pps they miss the point of what is needed most right now/what the problem is.
Edit while writing others postet the same stuff I postet
COI is deltachat.
The whole thing just sets a low bar because it can't implement all the things other messengers already support (for instance not disclosing who you are talking to)
From a consumer standpoint, isn't it still true that you still need to get people to use the new client(s)? (It's not like gmail/hotmail/yahoo/etc. email service providers automatically have a COI client on top of their email client) In the end, you still have the network problem, of getting people to switch over?
That would make statements like this a little bit deceiving: "You can also reach everyone, there are more than double active email users than WhatsApp users, for example."
Yes, all email users (who use services that support IMAP) are technically automatically "users" of this, but before they start using your client, you still can't chat with them over COI. Or is there fall back to email?
With Signal you cannot carry your chats to a new device (this is prohibited by design in the app on iOS)!
If you want to experiment, try both Wire and Signal at the same time, and you’d observe the differences quickly.
Please note that Threema is not open source. If you want that go for Signal instead.
[1] - https://threema.ch/en
[0]: https://github.com/signalapp/Signal-Android/issues/6520#issu... [1]: https://github.com/signalapp/Signal-Android/issues/6520#issu...
And could you give an example story illustrating how two users would run into this issue in practice?
https://confluence-public.open-xchange.com/display/CoiW/COI+...
it's like the only possibly important thing about this and nobody has mentioned that the COI web front runs into nothing when you follow URL toward an RFC:
https://www.coi-dev.org/popup2?type=1000
it's a blank page that says they think RFC is essential, which is surely a valid opinion :)
It's true that email is really the number 1 mean of communication, but I wonder if it's not ton and ton of added layers to make it modern enough.
And as it was mentioned, I'm not sure email is really good enough for mobile and other constrained bandwidth.
I might be wrong, but email headers are pretty scary.
In the end, I wonder if any old protocol shouldn't be upgraded, things made deprecated, etc. Every decade or so, protocol should be sanitized.
The fact I had to read quite so far down the page to find this snippet emphasises to me how unimportant the developers of this protocol see E2E encryption to be :( And leaving it to the client seems like a terrible idea, especially if there are options, as then surely it will depend on what E2E encryption options your and your recipient's clients supports?
The prime target of this protocol isn’t power users and developers; it’s the overwhelming majority of users that stick to siloed messaging because it’s convenient, and everyone has it. First and foremost, they need to be shown that this is more convenient, and has a larger and more accessible network.
>A COI-compliant client MAY support the Autocrypt standard to ease end to end encryption scenarios.
>TODO: Consider using more secure lookup mechanisms for encryption keys. Also check for existing encryption keys before auto-generating a new encryption key set.
To tout it as an alternative, or "breaking free" of WhatsApp, is to discredit one of the pivotal reasons that people use WhatsApp, which is E2E encryption.
Someone will probably say something about homomorphic encryption. Not deployed AFAIK, and deploying will be difficult if you want to ensure that you can search your encrypted mail but others cannot.
So an existing server need not do anything to support COI clients. But a malicious server could easily decide to reject them, or to filter out COI-specific stuff from messages. I don't think it's likely, but it sometimes big corporations and governments get paranoid about weird things ("network load!!1!") and take technical measures to block them.
just on the homepage "Since this is all based on email, you can communicate with users even when they do not have COI-compatible servers or apps."
the likely side effect is that you'd need to filter out chats messages into a folder or something to reduce the inbox clutter
I really like this idea
> COI works with all email severs, but IMAP servers can be enhanced with extra COI capability.
I’d take this to mean that no, changes are not explicitly required; but without the changes COI functions the same as email, but in an IM interface.
Email <> IMAP even though most email providers do provide access to IMAP, this is greatly oversimplified.
From there outwards the protocol (degrades to/can use) regular mail/smtp, so you can indeed connect with any address capable of receiving email.
So you could "send an email" in XMPP just by composing a message and sending it to what amounts to an email address (technically the bare JID). The XMPP client would just need to close the chat window after sending the message to make it seem like typical email experience.
XMPP also has the advantage that it was designed with the IM and multi-user chat use cases in mind (e.g. chat state notifications, message corrections, moderated/members-only chatrooms, etc.) but also can support email use cases.
I think it's easier just to set up your XMPP server to handle IMAP authentication.
Are they expecting others to write implementations?
How does it avoid spoofing of addresses and spam?
All the same email is pretty siloed, for personal addresses. Running your own server is a hassle for anyone,and the most popular provider stopped being "not evil" some time since 2004 when I got my address there.
"It is sort of available everywhere" is email's only selling point - that's not enough to justify "let's build everything on top of it".