EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.27k stars 3.6k forks source link

Error 3090003: provided keys, permissions, and delays do not satisfy declared authorizations #4154

Closed quocle108 closed 6 years ago

quocle108 commented 6 years ago

Hi all, I just updated the last version, and got this issues when i tried to create an account as below. Anyone have this issues?

$ cleos create account eosio eosio.token EOS7m4Q5HRiLPK8a1q3pX1DMLd8VehTdRfuabv9f3FoX6wG51bAjU
Error 3090003: provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.

The wallet already imported a private key and unlocked.

$ cleos wallet keys
[
  "EOS7m4Q5HRiLPK8a1q3pX1DMLd8VehTdRfuabv9f3FoX6wG51bAjU"
]

$ cleos wallet unlock --password PW5Jw5iTrqs8u1eMDY7EzU7ujkrmDQmxc6yKg1W67TtxaAn5cz21S
Unlocked: default
spartucus commented 6 years ago

The key of eosio is not imported into wallet. I think the right key of eosio is EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV.

sunphy commented 6 years ago

Same error occurs. How could I import the public key of eosio? I think only private key could be imported by command cleos wallet import @spartucus

heifner commented 6 years ago

ONLY USE FOR TESTING

eosio public key: EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV eosio private key: 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

ONLY USE FOR TESTING

sunphy commented 6 years ago

Yes,it works.Thanks a lot @heifner

duval1024 commented 6 years ago
eos

I have imported the public key of eosio .But it do not work for me . Who can help...

duval1024 commented 6 years ago

tag v1.0.6

HeDeHeng commented 6 years ago

@duvalCC测试网络只能用这个账户 eosio public key: EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV eosio private key: 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

duval1024 commented 6 years ago

@HeDeHeng 我是连接了主网创建账号的,这个eosio只能用于测试网络?

nikodean1 commented 6 years ago

I tried this but it didn't work :(

cleos --wallet-url http://127.0.0.1:8899/ create account eosio username [eosio's public key]

but it still says 'Error 3090003: provided keys, permissions, and delays do not satisfy declared authorizations Ensure that you have the related private keys inside your wallet and your wallet is unlocked.'

The wallet was unlocked, too (default wallet).

quocle108 commented 6 years ago

@nikodean1 You just import eosio account to your wallet. This account already created

gartox commented 6 years ago

Works for me

cleos wallet import 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

and then:

cleos create account eosio [your_account] "EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe"

AlgernonMXF commented 6 years ago

@duvalCC 我遇到了和你截图中同样的问题,想问一下你是怎么解决的呢

JonieH commented 6 years ago

same error

rosselpha commented 6 years ago

still didn't work now I'm getting the previous err I was getting

cleos create account eosio koood EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV EOS6BX6eQH2JwKoMwh57wi1p76sr3CkqHNDBzjGCYWnMn4M3GH7fq 1401172ms thread-0 main.cpp:2756 main ] Failed with error: Assert Exception (10) yes i im runing nodeos with --http-validate-host=false

nikodean1 commented 6 years ago

Check if the account was created anyway. Something similar happened to me

On Thu, Jul 19, 2018, 8:34 PM rosselpha notifications@github.com wrote:

still didn't work now I'm getting the previous err I was getting

cleos create account eosio koood EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV EOS6BX6eQH2JwKoMwh57wi1p76sr3CkqHNDBzjGCYWnMn4M3GH7fq 1401172ms thread-0 main.cpp:2756 main ] Failed with error: Assert Exception (10) yes i im runing nodeos with --http-validate-host=false

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/4154#issuecomment-406462285, or mute the thread https://github.com/notifications/unsubscribe-auth/ASv6AZ1gKU4E3JXfCksX8uyKGkLwyCUNks5uITNtgaJpZM4UqZUr .

rosselpha commented 6 years ago

it worked I just needed to restart nodeos

bluabaleno commented 6 years ago

I couldn't import the producer key AND I can't sign push eosio.bios contract despite having already set up the default wallet.

bluabaleno commented 6 years ago

I'm having trouble setting the bios contract on my producing test node. Apparently the default wallet is suppose to contain the producer key but I can't sign with it. Can't import it again either :(

jgiszczak commented 6 years ago

@bluabaleno The default wallet no longer contains any key when first created. Even the default key must be imported manually. The documentation has been updated to reflect this change.

loviswater commented 6 years ago

screenshot from 2018-08-27 22-17-14 screenshot from 2018-08-27 22-08-04

nodeos is running for a day or more and receiving blocks from July....not sure if that is causing this.

Received same error message rusted@rusty:~/eos$ cleos create account eosio eosio.token EOS6N2sbMRCT7tcrpyi1m9DeNca9qrZPt1WUPgtVbMq7jSjTi8L44 Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations Ensure that you have the related private keys inside your wallet and your wallet is unlocked.

Wallet was unlocked and confirmed unlock. Did restart nodeos once as well and rechecked wallet lock.

suryapratap1 commented 6 years ago

@heifner

i am using these both

eosio public key: EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV eosio private key: 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

and write on terminal as such-

cleos create account eosio intersteller EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV

but still didn't got any reply from terminal before 10 min please share the proper cli for creating new account just because of that i am stuck with that before 2wk

suryapratap1 commented 6 years ago

@gartox i am using the same as you suggest but its not in working- firstly i imported private key by using command-

cleos wallet import --private-key 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3 -n asdf imported private key for: EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV

and after using that my terminal gone to be stuck , i didn't got any response--

cleos create account eosio intersteller EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV

jgiszczak commented 6 years ago

@neo-thematrix You can not create accounts using the default key on a node being synchronized with mainnet. The eosio account on mainnet was not created with the default key and it's disabled now in any case since mainnet went live with voted producers. All of the instructions for creating accounts with the default key are for private test networks only.

jgiszczak commented 6 years ago

@VtpVlan-oo7 The command line you are using is correct. Be sure your local nodeos instance is running, not stopped, is producing blocks, and is standalone.

loviswater commented 6 years ago

screenshot from 2018-08-29 10-13-44

@jgiszczak okay I think I am following you. So I do have all the keys in a separate account name. So I changed to

$ cleos push action eosio.token create '[ "pollen", "21000000.0000 POLLEN" ]' -p eosio.token
Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.

Second attempt to create an account that is not default

cleos create account pollen eosio.token EOS7Xbb1byMrfyqNcrxdfeYExMNkASw1QQ9Va6pAPgUHiQeymu84c EOS6N2sbMRCT7tcrpyi1m9DeNca9qrZPt1WUPgtVbMq7jSjTi8L44
Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.

I know both of those private keys (owner/active) are in the pollen account and is unlocked.

"pollen" as you can see was unlocked prior to the command. I feel I am close, but obviously missing a few steps?

jgiszczak commented 6 years ago

@neo-thematrix You also do not have authority to issue transactions on behalf of the eosio.token account, as you don't have its private key either. If you wish to use the eosio.token contract, you may set it on your own account, and use it to create and issue your own token. Note you will have to pay the RAM costs for storing the contract and its tables.

There may at some point be a way to use the system token contract for custom tokens, but I'm not aware of consensus emerging around any of the proposals. Very likely it will be an entirely new contract, or even family of contracts, not named eosio.token at all.

abhi3700 commented 6 years ago

@VtpVlan-oo7 I am facing the same problem as well.

Steps followed:

Issue: It is returning nothing. I did wait for long.

Anyone with the solution, please?

Happy coding :) @abhi3700

suryapratap1 commented 6 years ago

@abhi3700

**for account creation Block genration must be needed

use the below command and the owner key which you have to use should be of nodeos's config.ini signature-provider key like that-

signature-provider = EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV=KEY:5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

$ cleos create account eosio intersteller EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV

executed transaction: bb0df6ba191b895ed50b4060a59d0474535707a70e5d89a18a1ab63f4919a784 200 bytes 297 us

eosio <= eosio::newaccount {"creator":"eosio","name":"intersteller","owner":{"threshold":1,"keys":[{"key":"EOS6MRyAjQq8ud7hVNYc...

warning: transaction executed locally, but may not be confirmed by the network yet ]

damianjnc commented 6 years ago

I got that error while creating an account, anyone knows whats wrong?:

~$ cleos create account creator damian2 name damian11 OwnerKey EOS6BvXtPVJeH9HVvv2LfFM7X4fNFZYEhgQgWSrD1JfWcUHSeq5aq
ERROR: ExtrasError: [OwnerKey EOS6BvXtPVJeH9HVvv2LfFM7X4fNFZYEhgQgWSrD1JfWcUHSeq5aq]
Create an account, buy ram, stake for bandwidth for the account
Usage: cleos create account [OPTIONS] creator name OwnerKey [ActiveKey]

Positionals:
  creator TEXT                The name of the account creating the new account (required)
  name TEXT                   The name of the new account (required)
  OwnerKey TEXT               The owner public key for the new account (required)
  ActiveKey TEXT              The active public key for the new account

Options:
  -h,--help                   Print this help message and exit
  -x,--expiration             set the time in seconds before a transaction expires, defaults to 30s
  -f,--force-unique           force the transaction to be unique. this will consume extra bandwidth and remove any protections against accidently issuing the same transaction multiple times
  -s,--skip-sign              Specify if unlocked wallet keys should be used to sign transaction
  -j,--json                   print result as json
  -d,--dont-broadcast         don't broadcast transaction to the network (just print to stdout)
  --return-packed             used in conjunction with --dont-broadcast to get the packed transaction
  -r,--ref-block TEXT         set the reference block num or block id used for TAPOS (Transaction as Proof-of-Stake)
  -p,--permission TEXT ...    An account and permission level to authorize, as in 'account@permission'
  --max-cpu-usage-ms UINT     set an upper limit on the milliseconds of cpu usage budget, for the execution of the transaction (defaults to 0 which means no limit)
  --max-net-usage UINT        set an upper limit on the net usage budget, in bytes, for the transaction (defaults to 0 which means no limit)
navneetboghani commented 6 years ago

same issue i got

navneetboghani commented 6 years ago

Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations Ensure that you have the related private keys inside your wallet and your wallet is unlocked.

DjangoPeng commented 6 years ago

@navneetboghani Have u solved the issue? If so, please share the solution.

kissm commented 6 years ago

The wallet imports the system account private key and loads the BIOS contract。 1、 cleos wallet import -n name --private-key 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3 2、cleos set contract eosio build/contracts/eosio.bios -p eosio

Mojicode commented 5 years ago

I know how to solve this issue, you must import eosio's pub&pri key to your wallet first : 1.input "cleos wallet import -n yourwalletname" 2.input eosio's private key. then you can use cleos create account eosio yourAccount pubkey1 pubkey2.