e4keygen

command
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

E4 Keygen

A simple key generator, to help create the various key types used to operate E4

Usage

Usage of ./bin/e4keygen:
  -force
        force overwriting key file if it exists
  -out string
        folder path where to write the generated key (default: current folder)
  -type string
        type of the key to generate (one of "symmetric", "ed25519", "curve25519") (default "symmetric")

Examples

You can use it to generate client's symmetric key:

$ ./bin/e4keygen -out ~/e4/keys/client1 -type symmetric
private key successfully written at ~/e4/keys/client1

or ed25519 private and public keys:

$ ./bin/e4keygen -out ~/e4/keys/client1 -type ed25519
private key successfully written at ~/e4/keys/client1
public key successfully written at ~/e4/keys/client1.pub

or even curve25519 keys, needed in public key mode:

$ ./bin/e4keygen -out ~/e4/keys/c2 -type curve25519
private key successfully written at ~/e4/keys/c2
public key successfully written at ~/e4/keys/c2.pub

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL