blob: 30291887c7a9c07db29b6799ac4991ae9673e52d (
plain) (
tree)
|
|
eth.py
------
This little script offers decryption and verification of some existing
Ethereum wallets, as well as generation of a new wallet. You can use any
utf-8 string as the password, which could provide with better security
against the brute-force attack.
Use at your own risk.
Feature
-------
- Decrypt the UTC JSON wallet and see the private key
- Run secp256k1 to make sure the private is intact and really corresponds to the wallet address
- Generate a wallet
Dependencies
------------
- pycrypto
- pysha3
- ecdsa
Install
-------
::
git clone https://github.com/Determinant/ethy.py
pip install --user ethy.py
Example
-------
::
python ./ethy.py --verify-key # unlock the wallet and verify whether the
# encrypted private key matches the address
python ./ethy.py --show-key # reveal the private key (secp256k1)
python ./ethy.py --gen > mywallet.json # generate a regular wallet (1s)
python ./ethy.py --gen --light > mywallet.json # generate a wallet (fast)
|