News for hackers. Stuff that matters.
Re:How to build large-scale end-to-end encrypted group video... by tptacek on Wednesday December 15, 2021 @05:11PM (#29572223)
Usernames do not just work. The Signal team is not unaware of usernames and Signal is not a weird scheme to get all your phone numbers. The difference between Signal and systems that use usernames (or email addresses) is that Signal deliberately doesn't operate a serverside directory or buddy list service. By contrast, other relatively popular messengers essentially keep a plaintext database of who talks to who on their service.

What phone numbers allow Signal to do is to piggyback off the contact lists people already have on their devices.

Re:How to build large-scale end-to-end encrypted group video... by stormbrew on Wednesday December 15, 2021 @06:03PM (#29572685)
I have like 6 phone numbers listed in my phone contact list for my sister alone, because she changes numbers every time she job hops and gets a new work phone, so I really question how well phone numbers work either. Most of those numbers are no longer hers, but I've lost track of which ones.

I feel like there's a bubble of people for whom phone numbers are perhaps a useful, durable identity token, but I really think it's very much a bubble. Most people's phone numbers change fairly frequently.

Re:How to build large-scale end-to-end encrypted group video... by rrdharan on Thursday December 16, 2021 @12:17AM (#29575201)
> Most people's phone numbers change fairly frequently.

Citation?

I think it’s just as easy to claim (and I certainly would bet that) most people’s phone numbers do not change frequently - I’d wager on something like 70% remain the same for 5+ years.

Curious / interested to be proven wrong though?

Re:How to build large-scale end-to-end encrypted group video... by kreetx on Thursday December 16, 2021 @08:33AM (#29577905)
My phone numer has literally never changed (going 20+ years now). Perhaps it's different in the US somehow (e.g people use their work number for private purposes too), but in my experience private numbers tend to remain the same.
Re:How to build large-scale end-to-end encrypted group video... by iamtheworstdev on Thursday December 16, 2021 @12:56PM (#29581372)
Not different here. My guess is that it only applies to people who never have a personal phone and only use work phones.
Re:How to build large-scale end-to-end encrypted group video... by johnisgood on Wednesday December 15, 2021 @06:11PM (#29572732)
Not only that, but how can I use Signal on desktop without it? Can I do that? Plus every single citizen here who has a phone number has it tied to their identity, even if they buy the SIM card at the gas station, for example. They have to verify and confirm their identity once a year. Its purpose is to keep track of who uses what number.
Re:How to build large-scale end-to-end encrypted group video... by stormbrew on Wednesday December 15, 2021 @06:53PM (#29573078)
You can use signal on a desktop but you still need to tie your account to a phone number. It has a mechanism to share your history and all that to a desktop app, with key certification managed (afaik) from your phone app (and it requires periodic re-pairing of it if you're not using it regularly). It's not really a great experience imo.
Re:How to build large-scale end-to-end encrypted group video... by maxwell on Thursday December 16, 2021 @01:56PM (#29582235)
It looks like phone numbers are permanently deleted from Signal, seems problematic with re-provisioning.

A previous purchaser of a newly provisioned phone number may have already deleted their Signal account before releasing it.

https://support.signal.org/hc/en-us/articles/360007061192-De...

Re:How to build large-scale end-to-end encrypted group video... by theshrike79 on Thursday December 16, 2021 @02:04AM (#29575806)
Over here you can keep your number when you change networks.

Very few people change their phone number ever.

Re:How to build large-scale end-to-end encrypted group video... by stormbrew on Thursday December 16, 2021 @03:44AM (#29576309)
You can here too, I just know a lot of people who don't. And people who use their work phone (even if I think that's a bad idea) for personal use don't always have the option of keeping the number.
Re:How to build large-scale end-to-end encrypted group video... by collaborative on Thursday December 16, 2021 @12:43AM (#29575345)
I operate an E2EE messaging service that uses email instead of phone numbers as user IDs

My servers also don't keep any record of conversations or "buddy lists". Yes, contact lists get wiped when changing device and email addresses aren't as easily stored in phone books (I don't even access a user's phone book for that matter). Just saying that it's possible to not use phone numbers. Granted not as convenient once you've built your entire user base off of their phone numbers

Email is more private though

Re:How to build large-scale end-to-end encrypted group video... by johnisgood on Wednesday December 15, 2021 @06:23PM (#29572834)
So the Signal server has no information about phone number X talking to or being in contact with phone number Y at all?

> By contrast, other relatively popular messengers essentially keep a plaintext database of who talks to who on their service.

I know, there are plenty of not-so-privacy-preserving messengers out there. The way Ricochet[1] and Briar[2] does it is probably the most privacy-preserving one, and it can be made extremely convenient.

[1] https://github.com/blueprint-freespeech/ricochet-refresh/blo...

[2] https://briarproject.org/how-it-works/

Re:How to build large-scale end-to-end encrypted group video... by kitkat_new on Wednesday December 15, 2021 @05:22PM (#29572354)
> is that Signal deliberately doesn't operate a serverside directory or buddy list service.

how do people again discover each other on Signal most of the time?

Anyways, nothing prevents Signal form creating it's own contact list within the app, perhaps bootstrapped from the existing one

Re:How to build large-scale end-to-end encrypted group video... by tptacek on Wednesday December 15, 2021 @05:25PM (#29572387)
They can do that, but then when you switch devices, you lose your contact list. That's not what happens with the built-in contact list.

This issue has been rehashed dozens of times on HN before (use the search bar below) and has basically nothing to do with the article.

Re:How to build large-scale end-to-end encrypted group video... by kitkat_new on Wednesday December 15, 2021 @05:38PM (#29572491)
actually, the contact list could include the signal identifiers
Re:How to build large-scale end-to-end encrypted group video... by vintermann on Thursday December 16, 2021 @09:16AM (#29578311)
It's rather funny to me that I still get notifications that someone I knew ages ago (but are still in my contact list) are now on Signal.

I find it funny rather than scary because I knew the tradeoffs Signal decided on even before I started using it. The fact that you use Signal itself is not a secret. If you need that to be secret, use a burner phone or something else. But I'm pretty sure not everyone else knew that when they joined.

In one case, I got notification that a guy I knew in high school had joined Signal, he was pretty far left then, and googling him I found out he was extremely far left now (splinter of a splinter of an anti-electoral Maoist group). I sent him a friendly note welcoming him, and explaining the basic thing I've explained here, that everyone can see you joining signal.

I never got a reply.

Re:How to build large-scale end-to-end encrypted group video... by maxwell on Thursday December 16, 2021 @01:52PM (#29582192)
Is there a notification if they leave Signal (delete the app or their account)?
Re:How to build large-scale end-to-end encrypted group video... by Moru on Wednesday December 15, 2021 @07:26PM (#29573335)
One way would be for Signal to create a hash of all your contacts phone numbers and look up if those hashes exists on the server. No contact details needed on the server, just the hash of the phone number connected to Signals user ID.
Re:How to build large-scale end-to-end encrypted group video... by johnisgood on Wednesday December 15, 2021 @08:12PM (#29573663)
Moxie talked about it here: https://signal.org/blog/contact-discovery/.

> The first instinct is often just to hash the contact information before sending it to the server. If the server has the SHA256 hash of every registered user, it can just check to see if those match any of the SHA256 hashes of contacts transmitted by a client.

> Unfortunately, this doesn’t work because the “preimage space” (the set of all possible hash inputs) is small enough to easily calculate a map of all possible hash inputs to hash outputs. There are only roughly 10^10 phone numbers, and while the set of all possible email addresses is less finite, it’s still not terribly great. Inverting these hashes is basically a straightforward dictionary attack. It’s not possible to “salt” the hashes, either (they always have to match), which makes building rainbow tables possible.

Regardless of this, Ricochet and Briar both use Tor hidden services and they are metadata-free. You do not send any metadata to any servers. I have a link to the design of Ricochet that is easily digestible in some of my other comments.

Re:How to build large-scale end-to-end encrypted group video... by mariusor on Friday December 17, 2021 @02:54AM (#29589182)
If only those contact lists would contain different things than phone numbers in them...