News for hackers. Stuff that matters.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by miki123211 on Friday May 29, 2020 @08:41AM (#23349245)
Telegram is such an underappreciated platform. It has many features other platforms lack, is reasonably privacy-friendly, more so than fb/whatsapp/etc, but not enough to sacrifice features or UX. The have an API ind both official and unofficial clients for almost all platforms, including command line and native, non-electron Windows (UWP). The client API is not easy to use, as crypto and similar features are involved, but C libraries exist. On the other hand, the bot API is one of the most pleasant APIs I've ever seen. It just works, can be tested in the browser, there's no oAuth crap one needs to set up. It's beautifully simple. I use Telegram whenever I can, and it has become my goto Messenger these days.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by MrGilbert on Friday May 29, 2020 @08:57AM (#23349369)
> is reasonably privacy-friendly, more so than fb/whatsapp/etc, but not enough to sacrifice features or UX.

Welp, there is a lot of discussion around these claims.

But we are also on Telegram, mostly because I'm using their API for our Home-Assistant instance to deliver status updates (left the bathroom window open for too long, weather-forecast on the morning and evening for the next 3 days). I like it.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by veeableful on Friday May 29, 2020 @09:42AM (#23349869)
Sorry if it’s off-topic but how does it know if the bathroom window open or not? Did you build some kind of device and connect it to the home assistant?
Re:Show HN: TrashEmail – Telegram-based disposable mail service by MrGilbert on Friday May 29, 2020 @09:51AM (#23349952)
I'm happy to answer. :)

I'm using a ready-made sensor for this. It's the same system I'm using for temperature and humidty measurement. It's proprietary [0], but someone reverse engineered it [1], so I can send the data via MQTT to home-assistent. I then wrote an automation using Node-RED. It get's triggered when the window opens. After an initial timeout of five minutes, it will compare the inside temperature and humidity with the outside temperature and humidty, and decide if it should wait another five minutes or fire off a notification. If you close the window before, it will stop everything and reset itself.

[0]: https://mobile-alerts.eu/ [1]: https://github.com/sarnau/MMMMobileAlerts

Re:Show HN: TrashEmail – Telegram-based disposable mail service by veeableful on Friday May 29, 2020 @10:13AM (#23350171)
Thanks for the answer! I didn't know there are already ready-made sensors for such use-cases (though I'm not familiar with Home Assistant itself either, only heard of what it is).
Re:Show HN: TrashEmail – Telegram-based disposable mail service by milgrim on Friday May 29, 2020 @09:48AM (#23349921)
You can easily integrate Zigbee devices. The Aqara or Xiaomi door/window sensors for example are cheap and pretty nice.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by veeableful on Friday May 29, 2020 @10:14AM (#23350182)
Thanks! I didn't know Xiaomi made such sensors too. They are definitely one of the brands that I recognize.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by dylz on Friday May 29, 2020 @03:18PM (#23354349)
Officially, they only work with Mi Home cloud-crap, but there are Zigbee drivers for interfacing with it.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by milgrim on Friday May 29, 2020 @03:30PM (#23354467)
I use a few different devices from them with zigbee2mqtt and it’s working great. It’s perfect for combining devices from different manufacturers and not having to use their individual gateways.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by fullstop on Friday May 29, 2020 @11:28AM (#23351102)
I use it with OpenHAB. It is easy to integrate with, fast, and reliable.

Kind of odd that I trust Durov more than Zuckerberg, but here we are.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by SXX on Friday May 29, 2020 @09:06AM (#23349477)

   > It has many features other platforms lack, is reasonably privacy-friendly
Telegram still has no E2E encryption by default and their official desktop client dont have it either. So it's worth nothing if no one use it. It's not that I have much trust into proprietary fb code, but there are certainly better apps privacy-wise out there.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by xorcist on Friday May 29, 2020 @10:11AM (#23350141)

  >> reasonably privacy-friendly
  > Telegram still has no E2E encryption by default
Right, but e2e encryption is a small part of "privacy".

Not leaking your personal data, identity or telephone number, and with whom you communicate is often more important.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by solarkraft on Friday May 29, 2020 @09:19AM (#23349627)
> there are certainly better apps privacy-wise out there

With significantly worse UX.

> still has no E2E encryption by default

This doesn't make it not reasonably secure in my mind. While the TG people will be able to access your messages, they can also process them, making stuff like large groups even possible (imagine the distribution hell otherwise).

I do tend to think that there's not much of a down side to E2E for private chats though, since you can still share private keys between devices to enable sync.

> So it's worth nothing if no one use it.

Telegram is way more than secret chats.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @09:26AM (#23349704)
> This doesn't make it not reasonably secure in my mind. While the TG people will be able to access your messages, they can also process them, making stuff like large groups even possible (imagine the distribution hell otherwise).

So your standard for “reasonably secure” communications is Facebook Messenger?

Re:Show HN: TrashEmail – Telegram-based disposable mail service by solarkraft on Friday May 29, 2020 @04:06PM (#23354864)
No. You're using the same "if it's not perfect it's worthless" argumentation as GP.

It's not perfect, nothing is. But it makes better compromises than others.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @06:42PM (#23356460)
It’s worthless as a “secure messenger.” They can read and store all the messages unless you use the E2E mode.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by tryptophan on Friday May 29, 2020 @12:49PM (#23352330)
Email has no E2E and people still use it all the time, for much more sensitive things than get sent over whatsapp and such.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by StavrosK on Friday May 29, 2020 @02:21PM (#23353609)
What's your point? I'd rather not assume you're saying "privacy doesn't matter because people don't care about it" or "Email is more private because people think it's more private".
Re:Show HN: TrashEmail – Telegram-based disposable mail service by bishalb on Friday May 29, 2020 @10:14PM (#23357876)
The point is that it doesn't make sense to be paranoid about no E2E if you still use emails for sending/receiving sensitive info.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by StavrosK on Friday May 29, 2020 @10:17PM (#23357893)
Okay, but how is that more than a straw man? Who is this mythical person who is paranoid about E2E and then emails their darkest secrets around?
Re:Show HN: TrashEmail – Telegram-based disposable mail service by fullstop on Friday May 29, 2020 @11:17AM (#23350931)
You can choose to use E2E if desired. Why is the default so important?
Re:Show HN: TrashEmail – Telegram-based disposable mail service by fsflover on Friday May 29, 2020 @12:46PM (#23352282)
Not on desktop Windows and GNU/Linux: https://github.com/telegramdesktop/tdesktop/issues/871
Re:Show HN: TrashEmail – Telegram-based disposable mail service by fullstop on Friday May 29, 2020 @01:06PM (#23352561)
Yes, the desktop client does not support it. If I want / need E2E I use my phone.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by stilisstuk on Friday May 29, 2020 @09:32AM (#23349776)
But e.g. signal don't have the feature where either party of a conversation can delete messages on both phones. This is possible with telegrams secret chat. And its great.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @09:57AM (#23350009)
Signal has disappearing messages for this use case. Not the same but the crypto in Signal is so much better (and permanently enabled) it’s hard to argue that Telegram is more secure.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by stilisstuk on Friday May 29, 2020 @11:48AM (#23351382)
Definately not the same. For a better snapchat—like feature, where you want reasonable protection against your coms partner telegram is way better. Also protects you from screenshots etc (again: reasonable privacy relative to threat model)
Re:Show HN: TrashEmail – Telegram-based disposable mail service by milkshakes on Friday May 29, 2020 @03:15PM (#23354309)
does it protect you from taking a picture of your phone?

i'd rather have a foundation of properly functioning, award winning cryptography than "features" designed for people who haven't thought through their threat model sufficiently.

castles made of sand melt into the sea eventually

Re:Show HN: TrashEmail – Telegram-based disposable mail service by stilisstuk on Friday May 29, 2020 @04:20PM (#23355023)
My threat model with nudes are different from my whistle blowing.

Signal also makes trade offs in order to het crypto to the masses.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @06:30PM (#23356340)
Yeah, but “supporting plaintext comms by default” is not a trade off to get crypto to the masses, it’s a failure to do so at all. What’s wrong with the disappearing messages feature?
Re:Show HN: TrashEmail – Telegram-based disposable mail service by stilisstuk on Saturday May 30, 2020 @06:19AM (#23359997)
Disappearing messages are per thread. In telegram i can choose to 'disapear' single messages.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Saturday May 30, 2020 @09:15AM (#23360937)
You can turn it on and off for the conversation whenever you want.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by stilisstuk on Saturday May 30, 2020 @04:27PM (#23364374)
But I can't go back and delete a message. I can prepare to delete the next message. Not, a message.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Saturday May 30, 2020 @05:01PM (#23364685)
I mean, that feature can be abused in a whole host of ways
Re:Show HN: TrashEmail – Telegram-based disposable mail service by stilisstuk on Sunday May 31, 2020 @02:39AM (#23367712)
In a private chat... thats a feature. Imo
Re:Show HN: TrashEmail – Telegram-based disposable mail service by vbezhenar on Friday May 29, 2020 @10:39AM (#23350423)
How can crypto be better or worse? It's either works or it does not. I did not hear about anyone breaking Telegram crypto.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @11:12AM (#23350860)
Telegram have said that you can’t trust Signal because the developers live in the US and something something the CIA, which is pretty ridiculous. They rolled their own crypto and they aren’t cryptographers, which should be reason enough not to trust its security: https://security.stackexchange.com/questions/49782/is-telegr...
Re:Show HN: TrashEmail – Telegram-based disposable mail service by vbezhenar on Friday May 29, 2020 @12:12PM (#23351784)
This answer is ridiculous. They got world level mathematicians in their team, what more do you want? Who are those "cryptographers"? And why those cryptographers don't break Telegram if they think that their crypto is broken?

Again, crypto is either broken or not. Telegram crypto is not broken. It's fine. Not everyone might like it, but that does not matter. I don't know story about CIA (although I wouldn't be surprised to find out that Signal is honeypot), so can't comment about that.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @06:28PM (#23356307)
Mathematicians are not cryptographers. Crypto is harder to trust when the rationale behind it hasn’t been justified. Signal’s crypto is very easy to justify. That’s about it.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by fsflover on Friday May 29, 2020 @12:49PM (#23352335)
>Again, crypto is either broken or not.

Security is not a yes/no thing. It is equal to the price to break it. If the cryptography is well-tested for decades, the price is much higher. This is not true for Telegram. It does not matter how good its creators are.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @09:09AM (#23349511)
Signal
Re:Show HN: TrashEmail – Telegram-based disposable mail service by qhwudbebd on Friday May 29, 2020 @03:06PM (#23354200)
Signal leaks your telephone number to everyone with whom you communicate, which is a privacy disaster before you even send your first message. (Please don't take this as implicit approval for Telegram's approach to secure messaging, but at least they managed not to cock up in such a basic way.)
Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @06:36PM (#23356387)
This has been explained on HN ad nauseam. It leaks less metadata than anything else, the phone number is the only metadata that it leaks (only to people you’re messaging, mind), and they’re working on a solution to that problem right now. It works that way because the developers wanted to avoid holding a central server with metadata for their entire user base. Instead it uses your local contact list to discover other users. I would say that being unencrypted by default and having a centralized metadata directory in plaintext is more of a cock-up in secure messaging than taking a rigorous and cautious approach to metadata leakage.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by qhwudbebd on Friday May 29, 2020 @06:56PM (#23356557)
The constant repetition is indeed nauseating. It's also nonsense.

There is another unique identifier that's stored in the local contact list: email addresses.

Use either email address or a phone number as an identifier, and you've no longer built a offensively privacy-violating service but have exactly the same distributed property.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @07:58PM (#23357061)
You can use any phone number to sign up, it doesn’t have to be the one on your SIM. The rationale is that people typically text using phone numbers, and they wanted to make it easier to text people securely. It’s not nonsense, it makes perfect sense, and again, they’re working on it: https://signal.org/blog/signal-pins/

If you only have access to one phone number and not giving it out is critical, then Signal might not be the right choice for you. But you won’t find a more secure channel that collects less metadata anywhere else.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by qhwudbebd on Saturday May 30, 2020 @03:16AM (#23359185)
People typically email using email addresses, and text using phone numbers. They're both messaging identifiers that might be easily be repurposed for Signal.

There's no property of the latter that makes them a better choice than the former, but the existing ecosystem makes a disposable or role email address a much easier thing to obtain, and in general leaking an email address a far-less-damaging privacy violation than leaking a phone number, which can so easily be used to harass and directly track you.

In many parts of the world, disposable mobile numbers are very definitely not a practical thing. The correct starting point here is to use either an email or a telephone number as an external ID. It's still not perfect, but at least it's not a complete disaster any more.

Alas they've been 'working on it' for a very long time now, and are likely to fail because of this painfully slow progress.

Perhaps if they'd pissed around less with trivia like cryptographically secure stickers, they might have increased their chances of becoming a useful product before they end up surrendering the space to an inferior product which gains too much market share to overcome before they're even properly off the starting blocks.

I criticise Signal here because I like the design and hate their botched execution, not because I dislike the protocol. On the contrary, I dearly want something that competent to succeed, but fear we're rapidly losing the chance of that happening because they have launched a privacy-disaster product and most of the potential market will have seen that, dismissed it and forgotten about it before they pull their finger out and fix it.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Saturday May 30, 2020 @09:01AM (#23360861)
Yeah but even with the phone number “leaking” (only to the recipient) nothing else even comes close to it. If your standard calls Signal a privacy disaster, what kind of product would you expect people to use? Everything else either involves storing comprehensive metadata in plaintext or worse durable logs of all conversation and interaction. Prepaid SIMs are pretty cheap and outside the US most phones are unlocked. Emails are too easy to fake and generally abuse. Nobody has solved this problem yet.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by newscracker on Friday May 29, 2020 @08:44AM (#23349289)
> Telegram is such an underappreciated platform.

Seriously, that's how I feel whenever someone asks me for my WhatsApp number (no, I don't use WhatsApp, and there's nothing called a WhatsApp number) or asks me about Facebook Messenger. Great UX, fast and new features added at a pace that puts other chat platforms to shame.

[I won't talk about the security aspect in this comment, since it has been rehashed many times here]

Re:Show HN: TrashEmail – Telegram-based disposable mail service by newsbinator on Friday May 29, 2020 @09:22AM (#23349653)
A WhatsApp number would be the phone number to which a user has tied their WhatsApp, for cases in which users have multiple phones and multiple phone numbers, not all of which are accessible beyond SMS.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by vimslayer on Friday May 29, 2020 @10:39AM (#23350410)
> non-electron Windows (UWP)

Oh? I thought it was Qt. I don't want to seem like I'm complaining for nothing as it's definitely much better than, say, Slack client, but I still feel like the Windows client is a bit "out of place". Like the task bar context menu looks different from all the other menus for other apps in there, with rounded corners etc.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by ghego1 on Friday May 29, 2020 @10:55AM (#23350628)
I'm not sure that Slack is a proper term of comparison for Telegram. A closer competitor would probably be WhatsApp, and Telegram Desktop easily beats the "desktop" version of WhatsApp on every single aspect. The only reason I'm still using WhatsApp is due to the fact that that's what all the people I know use.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by ComodoHacker on Friday May 29, 2020 @01:20PM (#23352753)
It's Qt. GP might have mixed it up with Unigram client[0], which is UWP.

0. https://github.com/UnigramDev/Unigram

Re:Show HN: TrashEmail – Telegram-based disposable mail service by seemslegit on Friday May 29, 2020 @11:37AM (#23351225)
> is reasonably privacy-friendly, more so than fb/whatsapp/etc

This is a harmfully misleading notion that we shouldn't be spreading. Without explicitly invoking "secret chats" which are not even available on desktop telegram is no different from skype and fb messenger and is categorically less secure than whatsapp.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by fsflover on Friday May 29, 2020 @10:40AM (#23350425)
> reasonably privacy-friendly

There is still no e2e encryption on GNU/Linux desktop, even as an option.

Upd: https://github.com/telegramdesktop/tdesktop/issues/871

Re:Show HN: TrashEmail – Telegram-based disposable mail service by garaetjjte on Friday May 29, 2020 @08:43AM (#23349274)
Privacy-wise Whatsapp is probably better due to E2E.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by sonicggg on Friday May 29, 2020 @09:42AM (#23349865)
How do you know it has E2E? The app itself is closed source. As far as anyone is concerned, it's all claims. How do they handle the private keys, for example? Any backdoor?
Re:Show HN: TrashEmail – Telegram-based disposable mail service by jeroenhd on Friday May 29, 2020 @09:57AM (#23350015)
WhatsApp reverse engineering happens all the time. There's news channels out there with people dedicated to being the first to announce references to upcoming features every update.

The same can be said of Signal or any other chat application distributed through Google Play. How do you know the binary corresponds to the source? Good luck getting reproducible builds on Android or iOS. If you want to be sure your chat app is secure, you need to review and compile the code every time. And, of course, you need the knowledge and skills of a good cryptographer to determine hidden backdoors in the algorithms.

Whatsapp is reasonably secure, as long as you don't upload your unencrypted chats to Google Drive (the backup functionality). Telegram, with E2E enabled, hasn't been proven insecure enough despite its weird custom crypto scheme. However, WhatsApp brings E2E to group chats where Telegram needs manual configuration in private chats to do so. If we want to bring E2E to the masses, WhatsApp is the best option for now.

I'm hoping Matrix will change this or Telegram will implement proper crypto, but until then, WhatsApp is probably the best option we have.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by ryanlol on Friday May 29, 2020 @10:19AM (#23350236)
Reproducible builds are a red herring, they do nothing to defend against bugdoors.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @09:58AM (#23350020)
It uses the Signal Protocol/Axolotl Ratchet and Open Whisper Systems helped them integrate it, which is a big reputational stake from very trustworthy people.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by ryanlol on Friday May 29, 2020 @10:18AM (#23350226)
Open sourcing whatsapp would solve precisely zero of these problems. There’s no way to know if a bugdoor is a backdoor or just a mistake.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by fr2null on Friday May 29, 2020 @08:47AM (#23349304)
AFAIK, WhatsApp has decent E2EE, but metadata is not encrypted. So even though Facebook can't see what you are saying, it can see to whom you are saying it, how often, at what times etc.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @09:05AM (#23349453)
Telegram isn’t encrypted at all by default, and its encryption scheme is sketchy.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by fullstop on Friday May 29, 2020 @11:20AM (#23350965)
Eh? It's encrypted by default. Not E2E, though, although that is an option which you can choose to use.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by StavrosK on Friday May 29, 2020 @02:28PM (#23353689)
That's a bit disingenuous. Everything is encrypted these days, there's virtually nothing that doesn't use TLS. Therefore, when someone says "encrypted", it's a good bet they mean E2E.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by fullstop on Friday May 29, 2020 @02:57PM (#23354076)
Telegram non-E2E is more than just TLS, though.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by StavrosK on Friday May 29, 2020 @03:09PM (#23354239)
What more do they do? I'm not aware.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by fullstop on Friday May 29, 2020 @04:28PM (#23355109)
It is documented here: https://core.telegram.org/mtproto

These layers are used in addition to any encryption done on the transport layer.

Re:Show HN: TrashEmail – Telegram-based disposable mail service by jolux on Friday May 29, 2020 @06:39PM (#23356426)
Fair enough, but they have the keys for that layer, I don’t see how that’s an improvement over TLS.
Re:Show HN: TrashEmail – Telegram-based disposable mail service by FalconSensei on Friday May 29, 2020 @09:10AM (#23349517)
Exactly. WhatsApp still wins by having the message encrypted
Re:Show HN: TrashEmail – Telegram-based disposable mail service by newscracker on Friday May 29, 2020 @08:46AM (#23349298)
Depends on what you prefer. WhatsApp shares your messaging metadata with Facebook. WhatsApp also exposes your phone number to everyone else (for example, in groups). Telegram does not expose your phone number to others by default, and you can even make sure that phone number enumeration attacks can't be carried out (like the authorities did in Hong Kong last year).
Re:Show HN: TrashEmail – Telegram-based disposable mail service by vbezhenar on Friday May 29, 2020 @10:46AM (#23350501)
Does it still wants to upload unencrypted backups into Google cloud?