A program to generate ipfs private keys, creating Kubernetes manifests.
Go to file
Jim Pick 998f428f1e Add go.mod and update for libp2p-core
Fixes install problems.
2019-09-17 13:25:47 -07:00
go.mod Add go.mod and update for libp2p-core 2019-09-17 13:25:47 -07:00
go.sum Add go.mod and update for libp2p-core 2019-09-17 13:25:47 -07:00
LICENSE license 2016-03-22 16:39:37 -07:00
main.go Add go.mod and update for libp2p-core 2019-09-17 13:25:47 -07:00
README.md Removed the superfluous sentence 2016-12-20 20:41:10 +01:00

ipfs-key

standard-readme compliant

A tool for easily generating ipfs keypairs

Table of Contents

Installation

$ go get github.com/whyrusleeping/ipfs-key

Usage

When run, it will write the bytes of the serialized private key to stdout. By default, a 2048 bit RSA key will be generated. In this case the key size can be changed by specifying the -bitsize option. The key type can be changed by specifying the -type option (rsa or ed25519).

$ ipfs-key -bitsize=4096 > my-rsa4096.key
$ ipfs-key -type=ed25519 > my-ed.key

Contribute

PRs accepted.

License

MIT Copyright (c) 2016 Jeromy Johnson