1
0
mirror of https://github.com/PurpleI2P/i2pd-tools synced 2025-01-11 15:27:59 +00:00
Some useful tools for I2P
Go to file
2016-10-10 08:03:33 -04:00
common fix up key names 2016-10-10 08:03:33 -04:00
i2pd@8795f0c8c4 i2pd sumodule added 2016-09-16 10:47:27 -04:00
.gitignore * add readme 2016-10-10 07:16:42 -04:00
.gitmodules i2pd sumodule added 2016-09-16 10:47:27 -04:00
keygen.cpp pretty print sig key types 2016-10-10 07:59:54 -04:00
keyinfo.cpp pretty print sig key types 2016-10-10 07:59:54 -04:00
LICENSE keygen added 2016-09-16 11:28:01 -04:00
Makefile * add readme 2016-10-10 07:16:42 -04:00
README.md fix up key names 2016-10-10 08:03:33 -04:00

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

Usage

Make a DSA-SHA1 destination key

./keygen privkey.dat

Make an destination key with a certain key type

./keygen privkey.dat <number>

or

./keygen privkey.dat <key name>
key name number
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

keyinfo

Prints information about an i2p private key

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