4 ms·
The whole protocol is decentralized and peer to peer. Each person in the network has a public and private key. The NaCl library is used to do all of the encrypt
by kragniz 12y ago
The whole protocol is decentralized and peer to peer. Each person in the network has a public and private key. The NaCl library is used to do all of the encryption.
- alex_duf 12y agoCool. Is this direct connection from peer to peer or does the communication bounce from one node to another as a TOR communication would do ? (I'm guessing direct for obvious latency reasons when using audio / video)
- irungentoo 12y agoDirect connection when possible. Connection routed over one TCP node when direct connections are impossible due to NAT issues.
- sitkack 12y agoWhat if I don't want a direct connection for security/anon reasons?
- walterbell 12y agoDoes only the one-time signalling handshake go to a TCP node (NAT hole punching) or does all traffic? Are these TCP nodes similar to Skype "super-peers" - how are they selected? Virtually all consumers are behind NAT devices.
- irungentoo 12y agoThe majority of NATs can be hole punched. If you can't hole punch then you will connect to your friend through a couple TCP nodes. They act like relays. TCP nodes are pretty much randomly selected by peers and anyone can host them. Everything is encrypted and TCP nodes are regarded as being possibly hostile so there should not be any security issues.
- eps 12y agoDo you have exact crypto spec somewhere? "NaCl library" is not a spec and it's still easy to use/apply it incorrectly.
- kragniz 12y agoCrypto is outlined over here: https://github.com/irungentoo/toxcore/blob/master/docs/updates/Crypto.md https://github.com/irungentoo/toxcore/blob/master/docs/updat...