update
This commit is contained in:
parent
757d36f8ca
commit
7c245b2180
1 changed files with 10 additions and 11 deletions
|
@ -66,18 +66,17 @@ or [cjdns](https://github.com/cjdelisle/cjdns) or tor or i2p or [magic wormhole]
|
||||||
|
|
||||||
## general design
|
## general design
|
||||||
|
|
||||||
* Make address.log that contains (uuid, transport, address, Maybe authtoken)
|
* There is a generic P2P protocol, which should be usable with any P2P
|
||||||
* The authtoken is an additional guard, to protect against transports
|
system that can send messages between peers.
|
||||||
where the address might be able to be guessed, or observed by the rest of
|
* A p2p remote has an url like tor-annex::fijdksajdksjfkj, which connects
|
||||||
the network.
|
to a specific peer. The peer's address may be kept private, but
|
||||||
* Some addresses can be used with only the provided authtoken
|
the design allows the address to be public without giving access to
|
||||||
from the address.log. Remotes can be auto-enabled for these.
|
the peer.
|
||||||
* Other addresses have Nothing povided for the authtoken, and one
|
* An authtoken also needs to be presented when connecting with a peer.
|
||||||
has to instead be provided during manual enabling of the remote.
|
This is stored in local creds storage and must be kept private.
|
||||||
* The remotedaemon runs, and/or communicates with the program implementing
|
* The remotedaemon runs, and/or communicates with the program implementing
|
||||||
the network transport. For example for tor, the remotedaemon runs
|
the P2P network. For example for tor, the remotedaemon runs the
|
||||||
the hidden service, and also connects to the tor hidden services of
|
hidden service.
|
||||||
other nodes.
|
|
||||||
* The remotedaemon handles both sides of git push over the transport.
|
* The remotedaemon handles both sides of git push over the transport.
|
||||||
* The remotedaemon may also support sending objects over the transport,
|
* The remotedaemon may also support sending objects over the transport,
|
||||||
depending on the transport.
|
depending on the transport.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue