News for hackers. Stuff that matters.
Re:Delta Chat – Email Based PGP Encrypted Chat by sras-me on Wednesday March 05, 2025 @06:45AM (#43265385)
In a sensible world, we would be using this, instead of whatsapp. It is amazing that even really a vast majority of, even technical people, not once stopped and looked at whatsapp, and said "Wait, e-mail can do this, we just need a pretty UI".
Re:Delta Chat – Email Based PGP Encrypted Chat by jasode on Wednesday March 05, 2025 @08:15AM (#43265999)
>It is amazing that even really a vast majority of, even technical people, not once stopped and looked at whatsapp, and said "Wait, e-mail can do this, we just need a pretty UI".

WhatsApp lets people find each other with phone numbers instead email addresses. This has a profound difference in real-world usability because it decreases friction.

Before WhatsApp, people texted each other using cell companies SMS.

Why did Person A (who already had an email address) send a SMS text to Person B (who also already had an email address) ?!? Because both people already had each others' phone number in their phone's address book. Recording each other's email address is less likely.

To wit, my mother has already memorized my brand new phone number that I've only had for a few years but she doesn't know my email address at all even though I've sent it and re-sent it to her multiple times. To normal people, the phone numbers are more sacred than email addresses. WhatsApp was a continuation of the conveniences of SMS -- without paying 10 cents per message to the mobile phone carriers.

Friction from cognitive overhead is a big deal in technology adoption.

Re:Delta Chat – Email Based PGP Encrypted Chat by wisienkas on Wednesday March 05, 2025 @09:25AM (#43266800)
I mean you could simply setup a registry of Aliases for emails to achieve the same effect?

On the same note, isn't phone numbers being more sensitive information than email nowadays, hence you might not want to share it.

Re:Delta Chat – Email Based PGP Encrypted Chat by A4ET8a8uTh0_v2 on Wednesday March 05, 2025 @09:46AM (#43267129)
That ship seems to have largely sailed and the trend will be hard to reverse given how cell number has started to become all-purpose ID number tracker.
Re:Delta Chat – Email Based PGP Encrypted Chat by sras-me on Wednesday March 05, 2025 @09:54AM (#43267286)
>both people already had each others' phone number in their smartphone's address book...

Look if it is saved in the smartphone's address book, why does it matter if it is email or a phone number. I bet that people don't actually memorize even the phone numbers of people close to them these days.

>Why did Person A (who already had an email address) send a SMS text to Person B (who also already had an email address) to chat?!?

I think it is because we didn't have near universal internet access in smartphones for a long time. If Whatsapp (or something like that) was a little bit late to appear, and the tech crowd was actually a bit more smarter, things like Delta Chat had a much better chance to be in Whatsapps current place.

Re:Delta Chat – Email Based PGP Encrypted Chat by jasode on Wednesday March 05, 2025 @10:18AM (#43267681)
>Look if it is saved in the smartphone's address book, why does it matter if it is email or a phone number.

Because when people interact with each other in informal situations, it's the phone numbers that are shared. Not email addresses. Thus, email addresses are often not in the Contacts app at all.

Re:Delta Chat – Email Based PGP Encrypted Chat by lxgr on Wednesday March 05, 2025 @09:55AM (#43267317)
> Why did Person A (who already had an email address) send a SMS text to Person B (who also already had an email address) to chat?!?

Arguably primarily because they want to chat with them and not email them. The two have vastly different UX beyond just contact discovery.

Before WhatsApp there were ICQ (also number-based!), MSN, Skype... WhatsApp's main contribution over these was indeed using phone numbers and contacts access for automated contact discovery, but I don't think it makes sense at all to characterize it as a usability improvement on email.

Another case in point: iMessage supports email addresses as identifiers too. I don't even have my phone number on there because I consider it a strictly inferior identifier (it changes every time I move countries, I lose it if payments to my operator ever lapse, unlike a TLD I have no way of owning it independently from a phone plan etc.)

Re:Delta Chat – Email Based PGP Encrypted Chat by jasode on Wednesday March 05, 2025 @10:07AM (#43267526)
>but I don't think it makes sense at all to characterize it as a usability improvement on email.

Chats in general (not WhatsApp specifically) have "better" usability than email for some people because:

+ chats skipp the extra keystrokes of email workflow such as "Compose new email" and then enter an extra "Subject:" line which makes normal people put useless things in there such as "a quick question..." and then put the real conversation in the email body. It's a bunch of extra friction for no reason when communicating informally between friends & family.

+ chat ids such as phone numbers are not given out as freely as email addresses which makes chats have less spam and clutter and more easily isolated to personal communications. Email inboxes are clogged up with a bunch of non-chat mails like shipment notifications from Amazon.

I actually prefer email comms and have told my family to send me emails instead of text chats because I'm always at my desk and can use my full keyboard to type out a reply -- but -- they ignore me and always just send text chats. Normal people have a mental model that's geared toward text chats.

E.g. I saw my aunt again 30 years after she last saw me and one of the first things she asked was "What's your phone #? I want to send you a photo when you were little." And because I received her text, I now have my aunt's phone # in my Contacts app. But I don't have her email address. She never gave it to me; and I never asked for it.

Exchanging phone #s is the natural thing to do between friends & family. On the other hand, exchanging emails is often more natural when interacting in business settings or dealing with people at arms length.

Re:Delta Chat – Email Based PGP Encrypted Chat by lxgr on Wednesday March 05, 2025 @10:26AM (#43267795)
> Chats in general (not WhatsApp specifically) have "better" usability than email

Definitely, but that's not WhatsApp's innovation.

Re:Delta Chat – Email Based PGP Encrypted Chat by fdb345 on Wednesday March 05, 2025 @12:29PM (#43269602)
just give them your signal number and use signal desktop

i do the same as you as i dont carry a phone anymore (fucking with the police).

Re:Delta Chat – Email Based PGP Encrypted Chat by darthrupert on Wednesday March 05, 2025 @09:56AM (#43267331)
Email address is a *far* better identifier than a random string of numbers though. The only reason why phone number discoverability works better is because everyone keeps being in that ancient world.
Re:Delta Chat – Email Based PGP Encrypted Chat by drpossum on Wednesday March 05, 2025 @07:19AM (#43265598)
To say nothing of the fact that most people are not running their own email servers so that messaging is going to reside in places they don't own and the fact that relays get to read about everything exacerbating that problem, so you cannot really expect forward secrecy:

Does this solve all the other problems with encrypted email, which is not widely used for a reason?

Here's a discussion

https://www.latacora.com/blog/2020/02/19/stop-using-encrypte...

Re:Delta Chat – Email Based PGP Encrypted Chat by lxgr on Wednesday March 05, 2025 @10:04AM (#43267481)
> most people are not running their own email servers

I honestly don't care about what the people I communicate with do, as long as I have the capability to at least own my persistent identifier (i.e. my TLD).

Just having that capability exerts just the right type of pressure on large service providers to maintain a baseline quality of service, regardless of whether the majority actually makes use of it or not, just like phone number portability has done in that domain.

Re:Delta Chat – Email Based PGP Encrypted Chat by em-bee on Wednesday March 05, 2025 @06:21PM (#43274166)
messaging is going to reside in places they don't own

but that is the case with every messenger that stores messages on your behalf. telegram, whatsapp, signal... with those ALL people are not running their own servers.

whatsapp and signal store encrypted copies of the messages, and so does deltachat.

beyond that each client also stores a copy of each message locally. as does deltachat.

in difference to all others at least with deltachat i have a choice to use a different server that i trust. with whatsapp and signal i don't have that choice.

Re:Delta Chat – Email Based PGP Encrypted Chat by em-bee on Wednesday March 05, 2025 @06:42PM (#43274342)
Does this solve all the other problems with encrypted email

it doesn't solve all of them but a few at least. i don't believe using pgp itself is a problem. if it was deltachat could replace it with another better encryption.

metadata is a problem. that could be solved by removing messages from the email server and storing them elsewhere. (or storing them back on the server with the metadata removed). that doesn't prevent intermediate mail forwarders from keeping a copy though. i think that is the real problem. deltachat doesn't control the communication channel and can't prevent leaking. i don't know how matrix or jabber compare here. if they use intermediate servers to forward messages the problem would remain.

message content leaking is not a problem because messages won't ever be decrypted on the server.

long term secret leaking is a problem tied to the current implementation of pgp. deltachat could change that (and maybe it does?)

Re:Delta Chat – Email Based PGP Encrypted Chat by wink on Wednesday March 05, 2025 @07:36AM (#43265723)
From the website:

> Reliable instant messaging

If it's based on e-mail, it's just not. (if we assume generally close-to-realtime delivery and not being blocked by random recipients)

Re:Delta Chat – Email Based PGP Encrypted Chat by foul on Wednesday March 05, 2025 @08:10AM (#43265970)
Email is a communication system with a lot of moving parts. You can't have reliable IM through existing MX servers but you may have it if for example SMTPs are running on your machine and you poll them more (it's just an example, I know that with an SMTP running on your phone you'd have more problems).
Re:Delta Chat – Email Based PGP Encrypted Chat by hkt on Wednesday March 05, 2025 @08:58AM (#43266439)
See earlier on today's front page, another all in one mail server. It is much, much simpler than it was to do this. I've been self hosting email for nearly 20 years and the state of the art is considerably better now. Latency is virtually nonexistent and federation works.
Re:Delta Chat – Email Based PGP Encrypted Chat by wink on Thursday March 06, 2025 @10:37AM (#43281425)
I'd say it's good enough - but I refuse to call a conversation over email "reliable" as in the properties I expect from a realtime messenger.
Re:Delta Chat – Email Based PGP Encrypted Chat by foul on Saturday March 08, 2025 @08:16PM (#43305237)
It's reliable, it conveys messages, but not instant at all.
Re:Delta Chat – Email Based PGP Encrypted Chat by mab122 on Wednesday March 05, 2025 @07:03AM (#43265497)
Re:Delta Chat – Email Based PGP Encrypted Chat by giancarlostoro on Wednesday March 05, 2025 @08:48AM (#43266319)
I mean... WhatsApp is literally XMPP / Jabber... It's amazing that we didn't stop and said, wait, Jabber can do this, we just need a pretty UI...

Hell, Jabber can still do this. I'm not convinced of the other modern alternatives that don't have half the functional capabilities that Jabber do.

The only "downside" of Jabber is that it's XML based, but really if you think about it, that's a strength. Anyone here could probably parse the protocol effortlessly. There's also lots of fully functional clients out today, and servers that scale like nobody's business.

I'm more ashamed we don't invest more into XMPP: Google Talk, Facebook Chat and WhatsApp were built around it. These are companies with insane to scale userbases, tried and tested.

Here's a 2008 article from Facebook on using their chat with a Jabber client:

https://developers.facebook.com/blog/post/110/

Re:Delta Chat – Email Based PGP Encrypted Chat by thiht on Wednesday March 05, 2025 @12:44PM (#43269780)
> it's XML based, but really if you think about it, that's a strength

Nope.

Another downside is the X. The protocol being extensible means that no two clients implement the same subset of extensions making it useless. I’ve been scolded in the past for using the "wrong" client, making my messages look weird for people using the "right" client. Just make a good protocol.

Re:Delta Chat – Email Based PGP Encrypted Chat by fsflover on Wednesday March 05, 2025 @09:17AM (#43266697)
> "Wait, e-mail can do this, we just need a pretty UI"

This reminds me on this nice comment thread: https://news.ycombinator.com/item?id=19217818

Re:Delta Chat – Email Based PGP Encrypted Chat by em-bee on Wednesday March 05, 2025 @03:45PM (#43272110)
i have been arguing this ever since ICQ became popular. back then i got a lot of angry reactions. i already explained it here: https://news.ycombinator.com/item?id=38029579

that generic server backend that i am describing in my linked comment is something i am using here: https://news.ycombinator.com/item?id=42159045

Re:Delta Chat – Email Based PGP Encrypted Chat by lxgr on Wednesday March 05, 2025 @10:00AM (#43267416)
No, if anything we'd be using XMPP or Matrix.

Email is the completely wrong protocol choice for instant messaging. It's just a completely different use case. You wouldn't send a letter to the fire department if your house is on fire either.

Re:Delta Chat – Email Based PGP Encrypted Chat by immibis on Wednesday March 05, 2025 @11:29AM (#43268760)
Only because we choose it to be.

When you use XMPP or Matrix you know your message will be delivered instantly. When you use email you don't. But that's only because we haven't defined an extension that tells the client whether the server can deliver messages instantly. It's not really that inherent to the system. Surely you've had at least one real-time conversation by email because both of you happened to be online at the same time and nothing went wrong necessitating a message delay.

Re:Delta Chat – Email Based PGP Encrypted Chat by lxgr on Wednesday March 05, 2025 @11:42AM (#43268990)
Yes, it's theoretically possible to adapt many protocols to many use cases, but that doesn't mean it's a good idea. Email and XMPP are just geared towards very different use cases.

In particular, Email has a lot of assumptions about acceptable delivery delays, bidirectional (non-)reachability etc. baked in that would be very hard to globally undo.

Re:Delta Chat – Email Based PGP Encrypted Chat by immibis on Wednesday March 05, 2025 @02:52PM (#43271427)
As programmers, is it not our natural instinct to create a ChatSystem and MailSystem on top of a GenericMessageDeliverySystem? When did we stop doing that? Creating a brand new GenericMessageDeliverySystem for each purpose comes with substantial costs. We don't reinvent the Internet to create WhatsApp.
Re:Delta Chat – Email Based PGP Encrypted Chat by lxgr on Wednesday March 05, 2025 @04:58PM (#43273189)
What generic message delivery system are you talking about, though?

SMTP is optimized for the use case of email; XMPP is optimized for one-to-one instant messaging; Matrix is optimized for "Slack-like" chat.

I highly doubt that these three use cases are similar enough to warrant introducing an additional common protocol/layer.

Re:Delta Chat – Email Based PGP Encrypted Chat by immibis on Thursday March 06, 2025 @08:27AM (#43279942)
Optimized how?
Re:Delta Chat – Email Based PGP Encrypted Chat by tweetle_beetle on Wednesday March 05, 2025 @04:11PM (#43272472)
I think the point is that it builds on existing infrastructure that almost everyone already has in their life. Whether you self-host, use a niche provider, or a mainstream provider, email provides a pretty interoperable starting point which isn't a walled garden and doesn't have to be owned by FAANG.

Are there some compromises? Of course. But creating new accounts, or using new services isn't one of them. Email-speed instant messaging is good enough for me.

And to be honest, as much as I like Matrix, it has plenty of compromise of its own - including speed/reliability when using their own servers.