https://github.com/machawk1/piskg
Python IPFS Swarm Key Generator
https://github.com/machawk1/piskg
Last synced: 5 months ago
JSON representation
Python IPFS Swarm Key Generator
- Host: GitHub
- URL: https://github.com/machawk1/piskg
- Owner: machawk1
- License: mit
- Created: 2017-06-07T18:39:46.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-04T10:13:40.000Z (almost 3 years ago)
- Last Synced: 2024-12-25T02:05:55.509Z (5 months ago)
- Language: Python
- Size: 144 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://pypi.python.org/pypi/piskg)
# piskg: Python IPFS Swarm Key GeneratorThis program generates swarm.key file for IPFS Private Network feature.
## Installing
``` {.sourceCode .bash}
$ pip install piskg
```## Usage
```
$ piskg > ~/.ipfs/swarm.key
```Change `~/.ipfs/` to different directory if you use custom `IPFS_PATH`. To
join a private network, save the key value to your `~/.ipfs/swarm.key`.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:``` {.sourceCode .bash}
$ 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.Credits
=======Direct port of . Setup
information derived from
.Logo derived from work by [Eagle Eye](https://thenounproject.com/eagleeye/) ([CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)) and [Sergey Demushkin](https://thenounproject.com/mockturtle/) ([CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)) and itself licensed [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/).
License
=======MIT