genconfig/

directory
v0.0.0-...-c15aa5a Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: GPL-3.0, AGPL-3.0

README

Genconfig

This is a fork of katzenpost/genconfig with a few changes to support adding additional CBORPlugins and to make it easier to work with docker containers.

Installation

Requires go version 1.13.

Usage

$ go run main.go -a <your authority ip address>
$ go run main.go --help
  -a string
    	Non-voting authority public ip address. (default "127.0.0.1")
  -authID string
    	Authority public ID.
  -b string
    	Path to for DataDir in the config files. (default "/conf")
  -ipv4 string
    	The public ipv4 address of the single node.
  -n int
    	Number of mixes. (default 6)
  -name string
    	The name of the node.
  -node
    	Only generate a mix node config.
  -nv int
    	Number of voting authorities. (default 3)
  -o string
    	Output path of the generate config files. (default "./output")
  -p int
    	Number of providers. (default 2)
  -provider
    	Only generate a provider node config.
  -v	Generate voting configuration.

This will generate a directory named output with all the configs needed to run a mixnet. It currently only generates the following configs:

Directories

Path Synopsis
cmd
gen

Jump to

Keyboard shortcuts

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