This commit is contained in:
John Kane 2016-06-08 03:54:26 +00:00
commit 5002047c37

View File

@ -1,7 +1,7 @@
# ipfs-key # ipfs-key
A tool for easily generating ipfs keypairs. When run, it will write the bytes of 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 the serialized private key to stdout. By default, a 2048 bit RSA key will be
generated. The keysize can be changed by specifying the `-size` option, and the generated. The keysize can be changed by specifying the `-bitsize` option, and the
key type can be changed by specifying the `-type` option (currently only RSA is key type can be changed by specifying the `-type` option (currently only RSA is
implemented). implemented).
@ -12,5 +12,5 @@ $ go get github.com/whyrusleeping/ipfs-key
## Usage ## Usage
``` ```
$ ipfs-key -size=4096 > my.key $ ipfs-key -bitsize=4096 > my.key
``` ```