[P2P] Trusted contacts for peer-to-peer calls

(#3903) Feature Open: Under consideration privacy voice

Current problem

While P2P calls reduce bandwidth costs for the server, clients expose their own IP to others clients. The average user isn't always conscious of the privacy risks linked to that, and doesn't necessarily uses a VPN either. (Alternatively, bad actors could convince people to use P2P calls under the pretence of the perks, tricking them into revealing their IP.)

Proposed change

Adding the option to identify "trusted" contacts for peer-to-peer calls (e.g. people known in real life) for which the risks to privacy are lower. P2P calls could then be limited to those.

2 comments

Sign in with Fluxer to comment and vote.
Comment by Fullest
Just to add to this: Hampus mentioned in Fluxer labs that there will be a visible warning before joining a P2P call. https://web.fluxer.app/channels/1519773906704011264/1541839434838716417/1558924663784996864
it will tell you that your IP address will be visible to the others in the call before you initiate it that way
So I think the way this feature request would manifest would be more like "Calls with these trusted contacts will not bring up this alert". One might argue Friends should suffice for this list, but people tend to use their Friends list for different things so perhaps this is for an even closer social circle.
Comment by vicky
vicky 1 vote
I agree that the privacy risks linked with P2P are definitely not known well enough by the average user and there should be appropriate warning and protection against that. On the other hand, I'm not sure how would be a good way to implement this "trusted contacts" UI-wise. What seems to me a good synonym of "trust" is how long a user has been your friend. It's often used for gift systems in games to avoid bad actors, and I'm thinking this could be our default "non-trusted" flag to make, say, highest tier scarescreen pop. Something along the lines of:
Warning
This user is requesting a peer-to-peer call. This features comes with security risks. Do not use peer-to-peer calls with users you do not know enough to trust. ✔️ I have read this message and agree to the risks.
Then we could have, for users you've added more than, say, two weeks, an in-between. Maybe a very different appearance for the answer call UI when it's peer-to-peer with text above or below warning the user. And finally, maybe for users you've known for I don't know how long no warning at all, just the different UI appearance? On top of that I would imagine somewhere in the settings a list of your trusted contacts where long-time friends would be added automatically? And maybe somewhere in the P2P call UI a link to add a user to your trusted contacts?