ShadowJonathan / eduP2P

An authenticated peer-to-peer network overlay
MIT License
3 stars 1 forks source link

[E] Federation #15

Open ShadowJonathan opened 5 months ago

ShadowJonathan commented 5 months ago

(note: this is not in-scope for the alpha or beta phases)

Segments

Description

Allows the ability for one server to opt-in to federating authentication and sharing with another server.

This'll be mesh-based, and requires adding the public key of the other server to each server's configuration.

This'll require sharing of node state and authentication with the other server, and requires trusting the other server wrt key expiry.

How/which relays will be used in case of cross-server sharing is as of yet unknown. (Some ipv6 address space may be used for a magic relay IP, where the last 32 bytes identify the server the relay ID is mapped to?)

ShadowJonathan commented 4 months ago

A thought: Since invited devices would have to know which sessions are connecting to it, maybe a separate "I want to connect" message would have to be sent out to the user's home coordination server, which then starts sharing the session with the remote coordination server, to then share with corresponding sessions?

This would reduce the amount of traffic, and also improve privacy.