Skip to content
forked from piersandro/qdckey

Decrypts the private key and the checksum encoded public wallet address from a Quadrans keystore file

License

Notifications You must be signed in to change notification settings

quadrans/qdckey

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


qdckey (previously ethkey)

A Quadrans wallet consists of a public address and a private key. When running the gqdc Quadrans node the wallet information is stored in a keystore file. In this file the private key is encrypted using the wallet's password.

The qdckey tool reads the keystore file and extracts the decrypted private key and the checksum encoded public wallet address. It is also possible to generate QR code images of the key and the address.

Installation Requirements

  • python 3.x must be installed
  • libssl-dev package installed for your distribution
  • relevant python packes must be installed using pip install -r requirements.txt

Usage

python qdckey.py [-h] [--password PASSWORD] [--address_qr ADDRESS_QR] [--private_key_qr PRIVATE_KEY_QR] keystore_file

positional arguments:
  keystore_file                     path to the Quadrans keystore file.

optional arguments:
  -h, --help                        show this help message and exit
  --password PASSWORD               password of the keystore (use with care!).
  --address_qr ADDRESS_QR           QR code image name representing the public wallet address
  --private_key_qr PRIVATE_KEY_QR   QR code image name representing the private key

If the password parameter is omitted the user is prompted for the wallet password. Since commands are typically stored in the shell history this is the more secure and preferred approach. If the image name parameters are provided, QR code images are generated for the address and the key, respectively.

An example call would look like this:

python qdckey.py /home/quadrans/.quadrans/keystore/UTC--2016-02-29T20-16-53.925667321Z--0af977bb21cf972a538187f72299614121549454 \
  --address_qr=address.png \
  --private_key_qr=key.png

Links

About

Decrypts the private key and the checksum encoded public wallet address from a Quadrans keystore file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%