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-05-26 12:55:59 +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-05-26 12:55:59 +00:00
|
|
|
$ ipfs-key -bitsize=4096 > my.key
|
2016-01-22 12:22:54 +00:00
|
|
|
```
|