161 points · by xstartup · 8y ago · 193 comments
So, far we've tried
1. Telegram - The problem here is that E2E encrypted messaging (secret chat) is not available on the desktop.
2. Tox - Works everywhere but qtox crashes randomly on Mac. Antox also doesn't work well on Android either. Utox crashes randomly on Linux. Qtox has no way to disable notification on Linux.
3. Whatsapp - You always need your phone android
4. Signal - Message syncs is very slow if you switch between desktop/phone often.
I've reported these issues to all these projects but it's been a long time and nothing resolved so far.
The situation is still pathetic. What do you recommend?
I stopped development after Apple got sued for secure p2p video chat with the original version of FaceTime, seeing as Hum was also going to support secure multiparty p2p video chat. Unfortunately VirnetX (and by extension, the US military) owns a patent that would have made deployment of Hum difficult without an expensive legal team.
It's not too hard to imagine that the real reason you don't see many p2p encrypted communication platforms is US military-sponsored patent trolling. This aligns with their mass surveillance interests.
Can you link to said patents?
[1] https://arstechnica.com/tech-policy/2017/10/full-scale-of-ap...
Edit: Added the link.
I am not aware of any lawsuits or patents on this, could you send links / share your story more?
[1] https://hackernoon.com/so-you-want-to-build-a-p2p-twitter-wi...
It takes a few maintainers per platform and a few people willing to lead the effort, but I think we could get enough people on Hacker News to help out.
(I've actually been debating making an "Ask HN: Would you join this effort?" post but have been putting it off for one reason or another.)
https://blog.torproject.org/sunsetting-tor-messenger
"We, the people" is such a fragile concept when it comes to resource stability (time, money, dedication). Looking at a project like Linux, there are commercial interests that fund a large part of the pipeline.
Running the actual network and developing the various messenger clients add a layer of organizational complexity that, in my perspective, only private companies have been able to honor, and only to the extent described by the OP.
One could settle for less Service, but then we have XMPP with various encryption schemes. Too complex to set up.
The ideal would require no servers, because the chat would be fully peer to peer. People wanting to be anonymous could just connect through Tor. (Each user account is just a private key, etc, etc.)
Of course, in reality everything is behind a NAT and/or firewall. It wouldn't be too difficult to have "dumb" servers that just exist to pass messages hosted by the community though.
I otherwise can't imagine how to bootstrap a network.
Maybe users could pay to receive messages.
Facebook started with a narrow target: students of some uni. Look for another similar group of persons, that want privacy and don't mind spending a few dollars.
Edit: Whatsapp (everybody here in Spain has it) was a paid app at first. They gave one year away... eventually they made it free, around the time that Facebook bought it.
But you're still probably right overall. Marketing to businesses or teams within businesses is probably the best bet.
Pay to recieve a possibly unsolicited message?!
That's insane.
If a user's address is private tho, then asking them to pay to receive messages should be as sensible as the degree to which they protect the distribution of their address.
It turns out that the skills that the company has acquired by doing this pays back with consulting contracts.
(Sucks as defined by OP)
Matrix.org + Riot.im are a pretty solid combination. Plus, you can bridge to IRC.
There's some work that can be done to proxy some of the load off into separate workers, but Synapse is pretty darn awkward to work with.
> 20 users sits around 4gb
dafuq? Are you serious? What could possibly need 4gb?HOWEVER, we have been working incredibly hard at optimisation over the last few months, and we have order-of-magnitude algorithmic performance improvements on the horizon over the coming weeks. https://twitter.com/matrixdotorg/status/979049079568240641 etc. There's also a port to python3 happening which should improve RAM by 2-3x given python3 stores strings in utf8 rather than python2's utf32.
I tried this recently. I really wanted it to work. However, it was a complete mess, mainly frequent (and prolonged) disconnects on the bridge. For folks who primarily use Matrix but would like to occasionally pop into IRC channels, it's probably OK. For folks that need a reliable IRC connection, don't bother.
There is nothing inherently broken with Matrix <-> IRC bridges, it is just that one server. Other servers are bridging to IRC perfectly fine and you are welcome to host your own.
But as many others have stated, its inability to work without exchanging phone numbers is a show stopper for many uses cases. Especially now that my country requires SIM registration with valid IDs.
Ah, and will try Keybase soon, although the downside of these switches are that I need to convince people around me to use them too..
I've forgot to mention, we've also tried Riot Matrix.
UX was simply not there and app felt oriented towards the very technical audience. My teammates had a problem with this.
Hosting the server (synapse) yourself takes about 15 minutes to setup.
I highly recommend it.
Disclaimer: I do NOT work for keybase, just a big fan of it.
Actually, I'm dumfounded that that can happen at all. Lost messages are trivial to detect and to correct, how can that happen with that setup?
2. Tox - p2p
3. Whatsapp - Not p2p
4. Signal - Not p2p
Putting the above aside: If Tox doesn't work for you, your best mobile-friendly options are: 1) Signal and 2) as others have mentioned Matrix - if you want a self hosted and federated solution.
[edited: addendum] i now realize you probably mean p2p-encrypted messaging. Damn semantics of non-formal languages!
If there is a third party involved, you are not p2p.
I take issue with having to provide a cell phone number for Signal. I just hope Tox clients get more polished and more usable as every client I've used except toxic has been terribly buggy.
Overall, I'm also not a big fan of Signal's hostility to federated protocols (https://signal.org/blog/the-ecosystem-is-moving/), so I'm more optimistic about Wire in the long run.
For example, if the purpose of this requirement is to keep a business team's communications out of the hands of other businesses, then local IRC+SSL accomplishes that, even though the local administrator can still snoop on it. Being able to say that company secrets never left the company was a big hit with our investors, and it didn't matter that it was technically possible for our sysadmin to snoop on them because he had physical access to all our workstations anyway.
If you don't have a trusted administrator, all is not lost. Each user can run their own ircd on the same VPN. It's less convenient to set up but any IRC client can handle multiple servers. Again, it depends on your requirements. (Are there 5 users, or 5000?)
Like any other technology, IRC can be used as part of a secure system. It has the advantage that it's free and easy to run yourself. Without knowing more context, though, it may or may not be practical.
IMO IRC is still the best chat experience.
If you run and control your own ircd the risks of snooping by the ircd admin are about the same as if you unknowingly have a rootkit/advanced peristent threat installed on your end point client workstation.
OP’s post indicates they need support for Android mobile and Linux desktop, so it won’t fit their bill, but it’s a viable option for some.
Because no one wants to pay for it.
I've noticed over the past few years that a lot of things go un-made because there's an assumption that no one will pay for something if it's done really well.
The reality is a lot of people will pay for something if it's done really well.
I'd easily pay $10/month for Facebook, if Facebook really had some way to shut off 100% of its marketing-based data things that we're all so worried about.
Thing is that people became allergic to asking outright for money from consumers a while ago. I used to buy software, and I still will if someone actually makes great software!
(I pay for all sorts of services that actually ask; Dropbox, a password manager, Spotify, Netflix, extra space on Gmail, etc. Provide an actually great service, make it a reasonable price and I'll pay!)
Things that are free get about 10x more adoption than non-free equivalents, and chat clients are software that have network effects.
SpiderOak is a good company.
I've had a free storage account with them for years. I didn't log in for 3 years and when I logged in my data was still sitting there, safe and sound. Pretty nice for a free tier.
Ring is comparable to Tox, but it has much less bugs.
Full disclosure: Ring dev here. I can answer questions.
Keep in mind that some of the platforms you have listed here are not decentralized. When using a fully decentralized system like ring, you must be willing to compromise on some functionality.
Questions:
1. Who is developing Ring? Is there a company behind the software? Who are the people?
2. Is it really truly P2P? Does it require servers or known supernodes? If so, what guarantees that those are up? (E.g.: Skype used to be somewhat P2P until MS changed that, and banned old clients from logging in - is that scenario possible?)
3. What is the UI framework based on? (i.e. is it another Electron app?)
4. Bittorent Bleep looked promising, until it was suddenly no more. How are you going to keep Ring afloat? What's going to ensure it's there in 5, 10 years? (As much as I don't like Skype, everyone I need to (video)chat with has been there for 15 years)
Thank you!
It is mainly developed by Savoir-faire Linux. A free software consulting company based in Montreal: https://savoirfairelinux.com
2. It is fully decentralized. OpenDHT is the backbone of the network. Calls are made using the sip protocol and are initialized with ICE (https://en.wikipedia.org/wiki/Interactive_Connectivity_Estab...).
Some situations require extra nodes: - If ICE can't open a connection with: ip-to-ip, UPNP, udp hole punching, it will revert to using a TUN/STUN server hosted by Savoir-faire Linux. Note that you can configure your own TURN/STUN server in the Ring settings.
- The first time that Ring connects to the network, it needs a "bootstrap server". A bootstrap server isn't really a super node, it is just a "know active node". Every DHT-supporting bittorrent client supports this. Note that you can point ring to another bootstrap server in the settings.
- Ring uses an optional blockchain (ethereum) based service to register usernames. This isn't part of all ring nodes by default. It has to be installed separately and then you must point your ring client to it. You can chose not to use usernames if you want and call people with their full RingID instead.
3. We have several clients, all of them use native frameworks. - GNU/Linux: GTK - Android: native android libraries - Mac: native mac libraries - Windows UWP: native UWP libraries - Windows win32: native win32 libraries - IOS: native ios libraries
4. Ring (sflphone) was released in 2004. At first, it was a SIP softphone app. It only became decentralized a few years ago. However, the app still supports SIP.
The development has been generously funded by Savoir-faire Linux since 2004 and there is no plan to stop. Savoir-faire Linux has taken every step to ensure that Ring remains free. Joining the GNU project, (2016) was one of these steps: - https://lists.gnu.org/archive/html/info-gnu/2016-11/msg00001...
Only problem is that it currently doesn't allow you to send yourself stuff, making it less useful than telegram was...
https://grothoff.org/christian/habil.pdf
Bonus: Briar could run on GNUnet, which would speed up interest in secushare development, which currently occurs at a... well, unexciting rate.
Also, I wish Briar would implement double ratcheting WITH metadata encryption. At the moment, it has no double ratcheting, but because the transport layer works differently this seems less concerning as they use good crypto algorithms, but it poses an issue to secure interdevice message sync. I only point the 'WITH metadata encryption' part out because SignalProtocol[!] lacks it.
A point against both Briar and Signal: I can't specify my preferred encryption method and parameters.
For ephemeral messaging like a SnapChat type use case, you can EASILY provide p2p encrypted. For services like Telegram and FacebookMessenger, their feature list requires cross device syncing, historical archiving, and those features don't play well with rotating keys, perfect forward secrecy, and other e2e encrypted messaging techniques.
It's a shame; the app has a very good user experience otherwise.
XMPP/Jabber + OTR
Pidgin with OTR - Linux/Windows
Adium with OTR - Mac
ChatSecure/ZOM - iOS/Android
Used on top of some XMPP service underneath such as Cisco Jabber.I'd really love to implement thorough self hosted SSO infrastructure that authenticates against a crypto token (Yubikey, Nitrokey, GPG smartcard). Doing this for e-mail and SSH logins is straightforward (BT;DT). And the Prosody documentation is promising with that respect, so the server side should be doable as well. But on the XMPP client side all I can find are some maillist posts where people supposedly got it working with Pidgin, but no howtos or similar to be found.
One thing that I also want to implement is kerberized OAuth and OpenID; however there are only very few services where you can actually log in with something other than Google, Twitter or Facebook – StackExchange used to offer login via custom OpenID, but they removed that a few years ago.
The probably is that the proper p2p encrypted messaging tools have a UI that either absolutely sucks or they have other, similar problems. Problems you have when you can't afford a UI/UX designer.
Not to mention needing to buy ETH some how and than paying for every message?
Uncertain-latency Not designed for RTC.
At first glance, this looks like a client broadcasts the Whisper to another server which than places it in a cache and might forward to more clients if enabled. Eventually the cache is cleared and there's no telling if the message will propagate successfully in any given time frame?Really? I have iOS here, WhatsApp works fine here and the web app version (https://web.whatsapp.com/) also works fine.
The private keys are only stored on the phone. With WhatsApp you have a session key via the At code you scan. All messages first go to the phone, which decrypts and reencrypts using the session key. Quite sophisticated, but sometimes slow and not working if the phone has no network connectivity or power.
All bets are off, now that it's FB's beast, but the two device solution was intended as a privacy feature, afaik.
I sat next to Pasha Sadri, the web client lead, for 4 months before the acquisition. He mentiond the problem a few times.
The fact it took another 2 years to get the client out seems to indicate that multiple problems were solved in other ways.
And of course nobody wants to pay for it. Also we need to aim higher than just p2p messaging. Shameless plug. http://firestr.com
- Cannot send things to yourself.
- Sometimes buggy with video calls
- I would love a bit more customization client side, like being able to have a more compact interface on the desktop
You can try it at www.stealthy.im. Would love your feedback!
Also, we have a super secure version called "Snowden Mode" for the privacy enthusiasts!
We are planning to open source our code in due time.
One of the cool aspects of our tool is there are no servers involved. Everything runs client side and the lookups are done with de-centralized zonefiles on the blockchain.
A lot of the video game studios would love to use P2P instead of having to invest in infrastructure that cost money. Destiny is a example why they shouldn't. Destiny P2P system shows on average that anything over 5 users causes major lag in data transfer. Users home networks are equip for handling data coming to them, but not for data being pushed out. Same thing for cell phones they are design for small burst of data going out not constant data being uploaded. P2P is to much a resource hog when it becomes a time sensitive data transfer.
The other problem Destiny prove to be a issue with P2P is a small security issue with ddosing. You beating someone in a video game well a instant ddos and bam lag spikes. Lag spike in a P2P system are murder because they are instantly felt by all.
Another unknown issue with networking is routing you never know how or where your packets are being sent. If one user packets are for some reason being routed through Uganda then every user might have to send the same package 3 or 4 times each time till it reaches them. You would be surprise how many packet drops happen between isp and networks. This is even a bigger issue with P2P because a packet drop is multiple by the amount of users.
And finally we get to the fun world of encryption. It is fun because it is simple to say all the terms that make it sound encrypted and secure but it is a iceberg of hell and dog poop. Creating secure channels while creating encrypted message while insuring that the end party are a trusted end users while ensuring all the algorithms used are up to date and solid is horribly boring and tedious. Did you know that if you compress something then encrypted then you just broke your encryption? That is because compression algorithm has a repeating pattern that makes it easier to break encryption. It is little things like that and more why you need a whole security team of red and blue team when you ever use the word encrypted.
Also to the other problem you eluded to cross platform. Making anything cross platform is it's own major heart break issue. When you toss in phones as well (I run in corner screaming and crying thinking about it). You might say something like java can handle it all, but it doesn't. You still need to test everything over and over again. Every computer can be running a different version of the Java virtual machine each having its own different bugs. Then you get to the realm of cell phones on top of creating a desktop app, and I would just walk away. I would charge someone billions to handle that kind of dev work.
The situation isn't pathetic it is a iceberg problem. The amount of complex problems that come with creating a stable P2P cross platform encrypted solution that is easy for end user to use, and doesn't compromise in certain areas would cost millions of dollars upfront to build.
So, if you use Secret chat on mobile and go to desktop, you'll not see it!
Switching back and forth between secret and not secret is troublesome especially when the other side doesn't know if you are on desktop or mobile to check availability for secret chat.
Note that Telegram secret chats are end to end encrypted (default chats are not) but you're still dealing with the Telegram server (not peer to peer)
Short of that, consider if you actually need "P2P encrypted messaging" - if you're doing business-type things then you should probably use a business-type messaging solution. Slack is pretty good. IRC is fine if you're slightly more paranoid, it just doesn't have UX on par with a commercial solution.
Find any HIPAA-compliant messaging product and you'll get most of what you actually need (vs think you want), but be prepared to pay much more for it than for a regular chat client.