Re:‘Anonymous’ Chat App Hijacks Contact Data
by StavrosK on Thursday August 31, 2017 @11:46AM
(#15141103)
That's the point. You hash the number, and keep the hash. Send the first few digits of the hash to the server, it sends you a bunch of full hashes back. If your hash is in that list, then you know the server knows that person.
[ Parent
| on HN ]
Re:‘Anonymous’ Chat App Hijacks Contact Data
by baystep on Thursday August 31, 2017 @12:38PM
(#15141533)
But that sounds like un-necessary round trips. I feel like the point in an API or backend service doing this, is because it knows better and has more computing power. I'd rather have my service take an incoming list and return with whether it's a member or not. In fact returning full hashes seems even worse, since now the server has not only replied with the correct match, but potentially more strangers. You could milk an API of it's users much quicker that way.
Re:‘Anonymous’ Chat App Hijacks Contact Data
by StavrosK on Thursday August 31, 2017 @01:22PM
(#15141957)
Yes, but the server doesn't know which of the responses is actually your friend, thus preserving privacy.
Re:‘Anonymous’ Chat App Hijacks Contact Data
by baystep on Friday September 01, 2017 @08:47AM
(#15147896)
Right, but I'm thinking the server still needs to be able to say "This person who ever they are is definitely the number you have". Like, I wouldn't check my password hashes with only the first 10 bytes, I guess that's why I'm still stuck on the truncated idea.
Re:‘Anonymous’ Chat App Hijacks Contact Data
by StavrosK on Friday September 01, 2017 @02:50PM
(#15151405)
No, the server just says "I know these email addresses starting with 'foo': [email protected], [email protected], [email protected]". If your friend's email address is in there, you know they have Signal.
The hashing is so people can't easily get a list of all the phone numbers, which is easy to work around, but, then again, they could just hammer the endpoint querying for all the various numbers anyway.