Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about private trees #56

Open
balupton opened this issue Jan 14, 2021 · 0 comments
Open

Question about private trees #56

balupton opened this issue Jan 14, 2021 · 0 comments
Labels
question Further information is requested

Comments

@balupton
Copy link

balupton commented Jan 14, 2021

From the README:

When it receives a transaction for a private tree, it only gossips that transaction to the tree's members (as opposed to its behavior with public trees, which is to gossip transactions to any peer who subscribes to that tree).

How is that guaranteed? Couldn't a custom relay server implementation just ignore that? I imagine if it does make its way to peers who do not have access, they wouldn't be able to decrypt the data, but what prevents them from getting access to the encrypted data? Is it that:

  1. peers only replicate with trusted peers and relay servers?
  2. peers only tell relay servers that they have some encrypted data, and they do not send the encrypted data to the relay server, the data only stays on trusted peers machines - so if an unauthorised peer does become aware that peer X has encrypted data Y, and requests it from peer X, peer X just says bugger off

if it is the latter, then how does multi-peer redundancy work? Does a peer have to invite the redundancy replicator as a trusted peer to the shard? And if so, wouldn't that mean that anyone providing redundancy can also read? Perhaps there should be these permission levels:

  1. no replication, bugger off
  2. replication of encrypted data permissible to your machine and your machine only, of which you may or may not have a decrypt key
  3. replication of encrypted data permissible to any machine that wishes to replicate it, of which you may or may not have a decrypt key
@balupton balupton changed the title Question about private shards Question about private trees Jan 14, 2021
@brynbellomy brynbellomy added enhancement New feature or request question Further information is requested and removed enhancement New feature or request labels Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants