holepunchto / hyperdrive

Hyperdrive is a secure, real time distributed file system
Apache License 2.0
1.86k stars 135 forks source link

Reuse existing identity key on startup #307

Closed fmsouza closed 3 years ago

fmsouza commented 3 years ago

I looked around the docs and issues list for a way to reuse an existing master key on the hyperdrive startup, but found nothing. Is it possible? And if so, how to do it?

Use case for that would be using the same identity while accessing your data on the network in different devices. Imagine an hyperdrive-based "Twitter". I want to post from several different devices (computer, phone, etc.) but using the same identity, so I won't need to have a separate feed of things I posted for each device I am using.

Grim-pyc commented 2 years ago

Did you ever find an answer?

fmsouza commented 2 years ago

@Grim-pyc I can't find right now in which thread I got my answer, but what I was told is that this identity is meant to be really unique for each node, so if you have two differente nodes in the network, they need to have different identities, can't share the same. If you need to enable 2+ nodes to share rw access to the same files, you need to use some sort other strategy to do so in an upper layer. By the time I was referred to multiwriter.