i2pd-tools/README.md

60 lines
1.1 KiB
Markdown
Raw Normal View History

# i2pd-tools
This repository contains tools that supplement i2pd.
Notice: git submodules are used so make sure to clone this repository recursively
git clone --recursive https://github.com/purplei2pd/i2pd-tools
## Tools included
### keygen
Generate an i2p private key
2016-10-10 13:31:57 +02:00
#### Usage
Make a DSA-SHA1 destination key
./keygen privkey.dat
Make an destination key with a certain key type
./keygen privkey.dat <number>
2016-10-10 14:03:33 +02:00
or
2016-10-10 13:31:57 +02:00
2016-10-10 14:03:33 +02:00
./keygen privkey.dat <key name>
| key name | number |
2016-10-10 13:31:57 +02:00
| -------------------- | ------ |
2016-10-10 14:03:33 +02:00
| DSA-SHA1 | 0 |
| ECDSA-SHA256-P256 | 1 |
| ECDSA-SHA384-P384 | 2 |
| ECDSA-SHA512-P521 | 3 |
| RSA-SHA256-2048 | 4 |
| RSA-SHA384-3072 | 5 |
| RSA-SHA512-4096 | 6 |
| EDDSA-SHA512-ED25519 | 7 |
2016-10-10 13:31:57 +02:00
### keyinfo
Prints information about an i2p private key
2016-10-10 13:31:57 +02:00
#### Usage
Print just the b32 address for this key
./keyinfo privatekey.dat
... just the base64 address
./keyinfo -d privatekey.dat
Print all info about the public key
./keyinfo -v privatekey.dat