Owner key change by random PoSt challenge proposal #269
Replies: 8 comments 8 replies
-
original draft FIP: https://github.com/lionsoul2014/FIPs/blob/master/FIPS/fip-draft_ocpc.md |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I think we should do more work to separate the signing process from the lotus node. Currently, many storage providers do not keep owner address offline, because keeping it offline make withdraw and other operations difficult. |
Beta Was this translation helpful? Give feedback.
-
Chinese reader can access link: https://mp.weixin.qq.com/s/MpdBEcdMqDsoIAvvPgnn8w |
Beta Was this translation helpful? Give feedback.
-
I would like to provide some ideas to mitigate the risks mentioned in this proposal first:
And, two questions, think about these scenarios:
|
Beta Was this translation helpful? Give feedback.
-
Assuming the data is not available directly to the attacker, there are two ways this can be abused:
|
Beta Was this translation helpful? Give feedback.
-
this creates massive problems for all available FIL lending options
everyone with access to the data could do this. this creates a way bigger problem than it tries to solve in my eyes |
Beta Was this translation helpful? Give feedback.
-
I think your solution will introduce new problems |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Simple Summary
Data service first - The real owner of a miner should be the one providing the sector data service not the one just own the owner key. Miners can still could get their rewards and all the collateral as long as the data could still provide service even through the owner key lost.
Abstract
For the current FIL network, miners lose their owner key and they lost everything and they have to keep providing service for the data access but without rewards even thought it keeps winning(This is really a terrible story). The FIL network will be more secure and consistent with the original intention of data storage if we provide a mechanism that the owner key could be changed by random PoSt challenge.
Change Motivation
There are some unavoidable situations where we may lose the owner key (and what actually happened):
Miners simple can't do anything when they lost their owner key they lost their collateral and all the future rewards. This is a bad investment experience and many participants really care about this "owner key stolen" issue.
Stressing the importance of owner key and admonishing miners to backup their keys is a recurring thing. Miners realizes the importance of the owner key and form a security awareness requires a process and a certain amount of time.
Filecoin is a decentralized storage network and key is to provide data storage and access service so the real miner should be the one keep providing data storage service not the one just own the owner key. What if the network provide a mechanism that allow miners to change their owner key even though they lost it as long as they could provide valid proof for random deadlines or partitions challenge.
That is to say the most important thing to do for a miner is to protect its data and make sure all the data it stored could provide stable service. Miner staking pledged storage space to get rewards and the key is still the storage and storage is a kind of service not a kind of control. So, Will the FIL network be better to make the stable data service as the first thing which means the give the rewards and collateral to the person who provides the data service instead of the person who ONLY owns the owner key ?
Protecting the data is already a hard work, but also we need pay more attension to protect "the most important owner key" that shouldn't be that important. That's really what happened now every day for all the miners. With this implementation the network can give those miners who made this mistake chances to make up for it WITHOUT affecting the reliability of the whole Filecoin network.
Specification
The implementation steps/pseudo is as follows:
# provide a api to make a owner key change proposal by the verified wallet A lotus-miner actor change-owner-key-proposal --proposal-key=wallet A --owner-key=new owner key
Security Considerations
For this implementation a miner with the owner key lost requires a new key to submit a change owner key proposal and we use random PoSt challenge to verify the new key before it could make the owner key proposal.
ONLY the miner own the real sector data could generate and submit a valid PoSt proof for the random challenge, If the number of partitions or deadlines challenged are enough(Challenge over 50% of its power ?) and the whole operation is very safe and also means the data owner owns everything like collateral and rewards not just the owner key control everything.
Problems and Solutions:
FOR the CC sectors regeneration: We could add a random piece or mix some random bytes in the PC1 ticket that ONLY store in the local leveldb to make sure only the owner could regenerate the its CC sectors and the owner key change proposal only challenge the new sectors with random piece info or ticket with random bytes mixed.
AS for the random piece or random bytes we could backup the metadata frequently, this may brings some extra works but as least there are things we could do rather than losing everything while the owner key was stolen.
Draft FIP here: https://github.com/lionsoul2014/FIPs/blob/master/FIPS/fip-draft_ocpc.md
Beta Was this translation helpful? Give feedback.
All reactions