dashersw/cote

Would TLS support be useful?

Open

#188 ouverte le 4 sept. 2019

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)JavaScript (184 forks)github user discovery
help wantedquestion

Métriques du dépôt

Stars
 (2 388 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

I have multiple Raspberry Pis in a potentially hostile network. I'd like to use cote for discovery and communication, replicating data across all nodes. I've produced a similar library to cote — odo-journal. I'd rather use something with more people behind it.

Odo Journal currently uses TLS encryption where each node has a ca, key and cert. The ca is so we can rotate keys from an external secret key that is not available on each node. Every node has both the key and the cert so it's not asymmetric encryption, but it does address a man in the middle attack.

I'd see the use of TLS similar to how the environment property works, it would partition the network.

Does this have a place in cote?

Guide contributeur