Files
reseed-tools/main.go
martin61 e66b97b460 TLS certificate: rsa4096 --> ECDSAWithSHA512 384bit secp384r1
elliptic curves in ECDHE handshake: only CurveP384 + CurveP521, default CurveP256 removed
RebuildInterval: 24h --> 72h
certificate valid: 2y --> 5y
throttled.PerDay(4) --> PerHour(4), to enable limited testing
2016-01-29 19:36:41 +01:00

33 lines
597 B
Go

package main
import (
"os"
"runtime"
"github.com/martin61/i2p-tools/cmd"
"github.com/codegangsta/cli"
)
func main() {
// use at most half the cpu cores
runtime.GOMAXPROCS(runtime.NumCPU() / 2)
app := cli.NewApp()
app.Name = "i2p-tools"
app.Version = "0.1.1"
app.Usage = "I2P tools and reseed server"
app.Author = "martin61"
app.Email = "na"
app.Flags = []cli.Flag{}
app.Commands = []cli.Command{
cmd.NewReseedCommand(),
cmd.NewSu3VerifyCommand(),
cmd.NewKeygenCommand(),
// cmd.NewSu3VerifyPublicCommand(),
}
if err := app.Run(os.Args); err != nil {
os.Exit(1)
}
}