1. 31 5月, 2018 1 次提交
    • M
      Require wallet password when revealing private keys · 4b10390e
      Matt Witherspoon 提交于
      In addition to being unlocked, wallets now require their password to reveal their private keys.
      
      RPC endpoint changes:
      /v1/wallet/get_public_keys -- No change. This endpoint prints all public keys from all unlocked wallets.
      /v1/wallet/list_keys -- This endpoint now requires two strings: the name of an unlocked wallet and its password. It will then reveal the public and private key pairs of that wallet. Be aware this means a slight change in behavior in that it is now impossible to query private keys from all unlocked wallets.
      
      cleos changes:
      wallet keys -- This command has been changed to print all public keys from unlocked wallets (corresponds to the get_public_keys endpoint). Be aware that there is a change in behavior due to different behavior in how get_public_keys works vs previous behavior: if there is no open wallet or all wallets are locked, wallet keys will now return a "no available wallet" or "locked wallet" error. Previously an empty list would be returned.
      wallet private_keys -- This is a new command that maps to the list_keys endpoint. It will take the wallet name and password as arguments before printing the public/private key pairs.
      4b10390e
  2. 29 5月, 2018 1 次提交
  3. 28 5月, 2018 1 次提交
  4. 26 5月, 2018 2 次提交
    • A
      chain_id_type should be its own type (without a public default constructor)... · c740baf0
      arhag 提交于
      chain_id_type should be its own type (without a public default constructor) rather than just a typedef of fc::sha256 #3415
      
      Special exceptions had to be made to `fc::variant::as()const` and
      chain_plugin and net_plugin to access the private default constructor.
      This is an ugly hack but it works for now. Eventually I need to see if
      there is a better solution.
      c740baf0
    • A
      chain ID is now hash of genesis state #3415 · 7ae937ec
      arhag 提交于
      Also the initial public key of the 'eosio' account can now be specified
      in CMake rather than specifying the chain ID.
      7ae937ec
  5. 24 5月, 2018 3 次提交
  6. 23 5月, 2018 5 次提交
  7. 19 5月, 2018 2 次提交
  8. 18 5月, 2018 4 次提交
  9. 17 5月, 2018 3 次提交
  10. 16 5月, 2018 7 次提交
  11. 15 5月, 2018 1 次提交
  12. 14 5月, 2018 1 次提交
  13. 13 5月, 2018 1 次提交
    • M
      Add creation of new keys via the wallet · a10ca3c7
      Matt Witherspoon 提交于
      This change adds the concept of a wallet being asked to create a new private/public key pair. It is a precursor to hardware key support in the wallet because hardware key stores don’t always have the concept of “importing” a key. It’s also beneficial as it gives an alternative means to `cleos create key` which if not careful can cause a private key to easily weasel its way in to a user’s shell history.
      a10ca3c7
  14. 12 5月, 2018 1 次提交
  15. 11 5月, 2018 4 次提交
  16. 10 5月, 2018 3 次提交