Python IPFS Swarm Key Generator
piskg: Python IPFS Swarm Key Generator
This program generates swarm.key file for IPFS Private Network feature.
$ pip install piskg
$ piskg > ~/.ipfs/swarm.key
~/.ipfs/ to different directory if you use custom
join a private network, save the key value to your
When using this feature, you will not be able to connect to the default bootstrap nodes since they are not part of your private network, so you will need to set up your own bootstrap nodes.
To prevent your node from even trying to connect to the default bootstrap nodes, run:
$ ipfs bootstrap rm --all
To be extra cautious, you can also set the LIBP2P_FORCE_PNET environment variable to 1 to force the usage of private networks. If no private network is configured, the daemon will fail to start.
Direct port of https://github.com/Kubuxu/go-ipfs-swarm-key-gen/. Setup information derived from https://github.com/ipfs/go-ipfs/issues/3397#issuecomment-284341649.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|piskg-0.2018.8.14.1618-py2-none-any.whl (2.8 kB) Copy SHA256 hash SHA256||Wheel||py2||Aug 14, 2018|
|piskg-0.2018.8.14.1618.tar.gz (2.4 kB) Copy SHA256 hash SHA256||Source||None||Aug 14, 2018|