eos icon indicating copy to clipboard operation
eos copied to clipboard

Updateauth Owner Permission

Open StarryJapanNight opened this issue 8 years ago • 2 comments

It is possible to change the owner/active permission key of an account to another account name (not key). For example:

Account: user1 Permissions: Owner: user2@owner Active: user1@active KEY

It is also possible to change the user1 owner permission to:

Account: user1 Permissions: Owner: user1@owner Active: user1@active KEY

Who now owns this account? user1 has the active key but is now unable to authorize an updateauth to change the owner key?!

StarryJapanNight avatar Jul 25 '18 02:07 StarryJapanNight

I think the updateauth function should do a check to ensure this cannot happen. It effectively kills an account, and is potentially an easy mistake to make.

StarryJapanNight avatar Jul 25 '18 07:07 StarryJapanNight

This is desirable, for example: Case 1: take a look at eosio, its permission is passed to eosio.prods Case 2: you want to lock the account, so nobody can update the contract

andriantolie avatar Nov 01 '18 06:11 andriantolie