docker-ipfs-keygen/README.md

17 lines
466 B
Markdown
Raw Normal View History

2016-01-22 12:22:54 +00:00
# ipfs-key
A tool for easily generating ipfs keypairs. When run, it will write the bytes of
the serialized private key to stdout. By default, a 2048 bit RSA key will be
2016-06-08 00:37:00 +00:00
generated. The keysize can be changed by specifying the `-bitsize` option, and the
2016-01-22 12:22:54 +00:00
key type can be changed by specifying the `-type` option (currently only RSA is
implemented).
## Installation
```
$ go get github.com/whyrusleeping/ipfs-key
```
## Usage
```
2016-06-08 00:37:00 +00:00
$ ipfs-key -bitsize=4096 > my.key
2016-01-22 12:22:54 +00:00
```