* [whisper] Move needed aes_gcm crypto in-crate
In the latest `parity-crypto` release (upcoming 0.4), the aes GCM features were removed (done to remove the dependency on `ring`).
This PR adds the bare minimum crypto needed for Whisper directly to the crate itself and as those were the only features needed from `parity-crypto`, removes the dependency on that crate altogether.
* Upgrade to parity-crypto 0.4
Reverts using NonZeroU32 (introduced [here](b347599cf7)).
* Check for 0 in `args.arg_keys_iteration`
* Use beta.4
* parity-crypto 0.4.0 is released
* Extract accounts from ethcore.
* Fix ethcore.
* Get rid of AccountProvider in test_helpers
* Fix rest of the code.
* Re-use EngineSigner, fix tests.
* Simplify EngineSigner to always have an Address.
* Fix RPC tests.
* Add deprecation notice to RPCs.
* Feature to disable accounts.
* extract accounts in RPC
* Run with accounts in tests.
* Fix RPC compilation and tests.
* Fix compilation of the binary.
* Fix compilation of the binary.
* Fix compilation with accounts enabled.
* Fix tests.
* Update submodule.
* Remove android.
* Use derive for Default
* Don't build secretstore by default.
* Add link to issue.
* Refresh Cargo.lock.
* Fix miner tests.
* Update rpc/Cargo.toml
Co-Authored-By: tomusdrw <tomusdrw@users.noreply.github.com>
* Fix private tests.
* support for keystore format produced by pyethereum lib + some debug msgs
* made salt unbound also for Scrypt
* made address optional and skip if its none
* ignore values of any type, not just i32
* WIP: local deps
* cleanup
* enable optional address + more cleanup
* yet another cleanup
* enable keystore wo address import (using passwd)
* cleanup
* doc enchancement
* parity/account fix
* redesign after review
* fix indentation
* ignore just version in json under crypto
* remove unnecessary borrowing within match str
Co-Authored-By: tworec <tworec@golem.network>
* remove another unnecessary borrowing
Co-Authored-By: tworec <tworec@golem.network>
* default derived instead of implementing
* log dependency removed
* [ethstore] warn restored + env_logger initialized in CLI
* applied suggestion from @tomusdrw
* refactor(hardware-wallet) - use only one thread
This changes parity to use one thread instead of two to subscribe USB
events via the hardware-wallets.
* Fix logs and tests
* fix(grumbles) : formatting and spelling nits
* Update hw/src/lib.rs
Co-Authored-By: niklasad1 <niklasadolfsson1@gmail.com>
* Update hw/src/lib.rs
Co-Authored-By: niklasad1 <niklasadolfsson1@gmail.com>
* Update hw/src/ledger.rs
Co-Authored-By: niklasad1 <niklasadolfsson1@gmail.com>
* fix(grumbles): clarify docs and use constants
* Clarify bad explaination of `run-to-completion`
* Replace magic numbers with constants