Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

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

Closed
quocle108 opened this issue Jun 16, 2018 · 34 comments

Comments

@quocle108
Copy link

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
Copy link
Contributor

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

@sunphy
Copy link

sunphy commented Jun 16, 2018

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
Copy link
Contributor

heifner commented Jun 16, 2018

ONLY USE FOR TESTING

eosio public key: EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV
eosio private key: 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

ONLY USE FOR TESTING

@sunphy
Copy link

sunphy commented Jun 16, 2018

Yes,it works.Thanks a lot @heifner

@heifner heifner closed this as completed Jun 16, 2018
@duval1024
Copy link

eos

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

@duval1024
Copy link

tag v1.0.6

@HeDeHeng
Copy link

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

@duval1024
Copy link

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

@nikodean1
Copy link

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
Copy link
Author

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

@gartox
Copy link

gartox commented Jul 4, 2018

Works for me

cleos wallet import 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

and then:

cleos create account eosio [your_account] "EOS8QntPwDBNKDZ3ryL8iqM5ojmrxJSVAy1xoUQxeC6vtzqyRHfMe"

@AlgernonMXF
Copy link

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

@JonieH
Copy link

JonieH commented Jul 19, 2018

same error

@rosselpha
Copy link

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
Copy link

nikodean1 commented Jul 20, 2018 via email

@rosselpha
Copy link

it worked I just needed to restart nodeos

@bluabaleno
Copy link

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
Copy link

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
Copy link
Contributor

@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
Copy link

loviswater commented Aug 28, 2018

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
Copy link

@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
Copy link

@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
Copy link
Contributor

@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
Copy link
Contributor

@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
Copy link

loviswater commented Aug 29, 2018

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
Copy link
Contributor

@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
Copy link

abhi3700 commented Sep 3, 2018

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

Steps followed:

  • nodeos running on a separate terminal.
  • wallet is unlocked
  • list keys using cleos wallet keys. It gives output as:
[
  "EOS5auLgLhM3uYWaDEeESKUMfqYsnNcUj2G9xSDuLbmEj4PGfBupL",
  "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
  "EOS6aD1hj7hcqktskyMtFKLti62MSaQV4vgb1GMES5cvLmj8s8Jip"
]
  • create account for uploading a contract using
    cleos create account eosio dev111111111 EOS5auLgLhM3uYWaDEeESKUMfqYsnNcUj2G9xSDuLbmEj4PGfBupL EOS6aD1hj7hcqktskyMtFKLti62MSaQV4vgb1GMES5cvLmj8s8Jip

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

Anyone with the solution, please?

Happy coding :)
@abhi3700

@suryapratap1
Copy link

@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
Copy link

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
Copy link

same issue i got

@navneetboghani
Copy link

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
Copy link

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

@kissm
Copy link

kissm commented Oct 18, 2018

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
Copy link

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.

@EOSIO EOSIO locked as resolved and limited conversation to collaborators Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests