threefoldtecharchive / 0-robot

Distributed live cycle management system
Apache License 2.0
0 stars 0 forks source link

Allow to transfer ownership of a service between robots #1

Open rkhamis opened 6 years ago

rkhamis commented 6 years ago

Issue migrated from [https://api.github.com/repos/zero-os/0-robot/issues/268](), opened by @zaibon

Considering we have 2 robots, R1 and R2.

R1 is responsible to create some service on the behalf of R2. (This can happens in case R1 is owning some resources that he can share with R2 after some agreement) Once R1 created the service S1, R1 is the owner of the service and thus the only one to be able to manage it. But S1 is intended to be own be R2, so R1 needs a way to transfer the ownership of S1 from R1 to R2. To do this securely, we can use a normal public key encryption flow: