-
Notifications
You must be signed in to change notification settings - Fork 4
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
如何防止离线节点线下作恶控制钱包中的资产? #2
Comments
你好! |
你说的是BTC 的私钥重新分片吗?如果是,那么旧的TSS 节点如果要做恶,把他们旧的私钥通过MCP 计算也可以得到完整的私钥, 这个问题你们怎么防? |
比如旧的TSS 节点直接把硬盘中的数据copy, 然后私下组网,再模拟用户发转账交易,这个时候,他们MCP 就可以得正确的签名。 |
网路会生成全新的密钥(也因此会生成新的地址)。 It’s not splitting(重新分片). An entirely new key (therefore a new address) is generated. It’s impossible for old nodes to gather the number of ‘shares’ required to access funds using old key shares. |
设想一下,如果我能够贿赂所有的旧节点,让他们把含有db 的硬盘给我, 也不可以恢复出就的私钥吗? |
It would be easier to explain in English. consider this scenario with n=25, t=15:
in reality, the threshold for triggering a full churn would not equal t. it would perhaps be set to something like t*0.66 and occur regularly every interval T which could be dynamically adjusted based on churn rate. even if t old shares can be recovered through 'bribery', the funds would have moved away from the old address. the balance would be 0. current 'churned in' nodes are disincentivized to reveal their current key shares:
|
@creamwhip Maybe we should find another way to improve it |
I get your point, but the address migration is not even necessary. It's a redundant extra layer of security that may be an optional configuration setting. Here's why: Re-sharing generates a new polynomial for distributing private key Using the previous example:
These 'churned out' nodes could not combine 5 + 5 + 4 shares to produce 14 'shares'. I hope this makes sense. |
@creamwhip Another question, at the first create private key, should all N nodes necessary attended? |
Yes, that is how the network gets bootstrapped. |
在 http://www.xiaomaojia.com/zixun/12407.html中提到"
Swingby Skybridge 采用动态重组机制,当节点退出、离线或者发送恶意数据时,会被候选节点取代;当节点大规模离线时,原有的 TSS 组可以将跨链资产的所有权转移到另外一个新的 TSS 组,在旧节点仍然拥有秘密份额的同时,新节点也会接管对托管钱包的控制权。"
假设n=7, t=4,开始是的时候node1~7(TSS1)参与BTC 地址 A的生成过程,然后node1~node4 决定退出,此时会替补node8~11进来形成新的TSS组(TSS2). 此时TSS2 控制了BTC 地址 A 的私钥。
如果node1~node4线下协商盗取BTC 地址A的资产, 这种情况如何处理?
The text was updated successfully, but these errors were encountered: