blob: 30291887c7a9c07db29b6799ac4991ae9673e52d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
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)
|