szimek / sharedrop

Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
https://www.sharedrop.io
MIT License
9.94k stars 725 forks source link

Documentation #116

Closed s-crypt closed 3 years ago

s-crypt commented 3 years ago

There is not much documentation on this project, so I have a few questions.

szimek commented 3 years ago

Hey!

I agree that it could be explained a bit better in both the app itself and this repo.

The only data that does not go through P2P connection is the initial exchange of messages required to establish P2P connection (so called signaling) - this goes through Firebase. All the other data, i.e. file metadata (e.g. its name) and the file data itself is sent through WebRTC P2P encrypted data channel.

You can read about security in WebRTC e.g. https://webrtc-security.github.io/ or https://bloggeek.me/is-webrtc-safe/.