orbitdb / field-manual

The Offical User's Guide to OrbitDB
208 stars 43 forks source link

Sharing an public keys for multiple nodes #77

Open ambertch opened 6 years ago

ambertch commented 6 years ago

Hi,

I am using orbit-db for a multi node application. Reading the docs section on access control, node can instantiate, generate their key, then a database is created with all the keys.

My question is, if I were to use one key (and share it among all nodes), is this safe? IE part of the code will get confused if multiple machines are running orbitdb with the same key.

The reason I want to share a key between nodes is because it makes the database creation simpler: instead of generating a key on each node and then creating a database, I can just generate one key and create the database then and there, then just use the same config everywhere.

Thanks!

aphelionz commented 4 years ago

Moving to Field Manual for deeper discussion