-
Notifications
You must be signed in to change notification settings - Fork 148
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
Account missing error, but it (private and publicKey are in actually in Scatter) exists and used previously #141
Comments
So a few questions:
|
|
Adding permissions to the transaction isn't enough. You'd need to log back in with the other account for Scatter to be able to sign with that account. |
Alright... As a result, I am bounded to do things that are actually valid from EOSIO perspective. |
Though that's valid from an EOSIO perspective, it isn't from a security perspective. From the user's side, they haven't given permission to the app to sign with that account, just the account that controls it. So imagine a scenario where a user has an account with no tokens, which controls another account with tokens. The user gives the app permission to use the controlling account, but not the controlled account, and then the app signs a transfer on the controlled account even though the user thought they only signed in with the controlling account. Slippery slope. |
I am trying to
setcode
to a newly created account by mybaseAccount
. I have made a tx with 2 actions: newaccount and buyrambytes. All these actions were performed bybaseAccount
.In account creation action I defined permissions such that it results in:
newAccount active: baseAccount@active owner: baseAccount@owner
When I try to setcode to a
newAccount
(usingnewAccount
as an authority), I expect that I can sign this tx with baseAccount@active. But scatter does not pop-up signing data, it, however, returns:code: 402
isError: true
message: "You are trying to sign a request with an account that isn't currently linked or doesn't exist in the user's Scatter"
type: "account_missing"
Another fact is that I can actually sign this tx (setcode/setabi) with newAccount@active (before setcode tx I use linkAccount to link newly created account).
The text was updated successfully, but these errors were encountered: