AmbireTech / adex-platform

AdEx Platform UI
https://platform.adex.network
GNU General Public License v3.0
58 stars 19 forks source link

Passphrase recovery DAO #545

Closed Ivshti closed 2 years ago

Ivshti commented 4 years ago

Is your feature request related to a problem? Please describe. Users may forget their passphrase and the current way to reset is manual.

Implementing an automated account recovery would be a decent improvement to UX.

Describe the solution you'd like Every Identity (Account) is created so that the second controlling wallet is the AdEx recovery wallet. Replace that with a smart contract, AdExRecoveryDAO that is a basic timelock.

This contract has to have:

Security implications: the only procedure that needs to have a timelock is the recovery itself. The goal of this is to allow the admin to save accounts if a proposer key (eg the relayer) is compromised.

The procedure would be the following:

Migrating current accounts: to allow current accounts to enable the new recovery mechanism, prompt them with a modal that would issue a TX that would call setPrivilege twice to add the new recovery mechanism and remove the old one.

Describe alternatives you've considered Replaces https://github.com/AdExNetwork/adex-protocol-eth/issues/35, https://github.com/AdExNetwork/organization/issues/78, https://github.com/AdExNetwork/organization/issues/104, https://github.com/AdExNetwork/adex-protocol-eth/issues/87 and https://github.com/AdExNetwork/aips/issues/21

Later additions

Additional context

Ivshti commented 2 years ago

not relevant anymore, totally new system in the wallet (QuickAccounts)