Skip to content
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

[MPoW] PubKey should be unique #58

Closed
badkk opened this issue Mar 6, 2020 · 1 comment · Fixed by #115
Closed

[MPoW] PubKey should be unique #58

badkk opened this issue Mar 6, 2020 · 1 comment · Fixed by #115
Assignees
Labels
A0-breakconsensus PR which break the consensus, make blocking error

Comments

@badkk
Copy link
Contributor

badkk commented Mar 6, 2020

After recover mode is enable in TEE side, if different accountId can bond same pubkey, it will steal the recovery_file, then different accounts can use the same plot size, it will destroy crust network.

@badkk badkk added the A0-breakconsensus PR which break the consensus, make blocking error label Mar 6, 2020
@badkk badkk changed the title Account Id <-> PubKey bonding relationship should be unique [ MPoW] Account Id <-> PubKey bonding relationship should be unique Apr 21, 2020
@badkk badkk changed the title [ MPoW] Account Id <-> PubKey bonding relationship should be unique [MPoW] Account Id <-> PubKey bonding relationship should be unique Apr 23, 2020
@badkk badkk changed the title [MPoW] Account Id <-> PubKey bonding relationship should be unique [MPoW] PubKey should be unique Apr 26, 2020
@badkk
Copy link
Contributor Author

badkk commented Apr 26, 2020

Actually, solution can be:

  1. adding accountId into WorkReport(different accountId cannot un-sig same pub-key work report);
  2. checking pub key be unique(different accountId should have totally different tee identities);

wuhaixian1984 pushed a commit that referenced this issue Jun 20, 2024
* Update README.md

* Update README.md

* Update README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A0-breakconsensus PR which break the consensus, make blocking error
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants