Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
add talpath build flag
Browse files Browse the repository at this point in the history
Signed-off-by: Yureka <yureka@wobcom.de>
  • Loading branch information
Yureka committed Oct 17, 2023
1 parent 8090993 commit 502ed64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/octorpki/octorpki.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ import (
var (
version = ""
buildinfos = ""
talpath = ""
AppVersion = "OctoRPKI " + version + " " + buildinfos
AllowRoot = flag.Bool("allow.root", false, "Allow starting as root")

// Validator Options
RootTAL = flag.String("tal.root", "tals/afrinic.tal,tals/apnic.tal,tals/arin.tal,tals/lacnic.tal,tals/ripe.tal", "List of TAL separated by comma")
RootTAL = flag.String("tal.root", fmt.Sprintf("%vtals/afrinic.tal,%vtals/apnic.tal,%vtals/arin.tal,%vtals/lacnic.tal,%vtals/ripe.tal", talpath, talpath, talpath, talpath, talpath), "List of TAL separated by comma")
TALNames = flag.String("tal.name", "AFRINIC,APNIC,ARIN,LACNIC,RIPE", "Name of the TALs")
UseManifest = flag.Bool("manifest.use", true, "Use manifests file to explore instead of going into the repository")
Basepath = flag.String("cache", "cache/", "Base directory to store certificates")
Expand Down

0 comments on commit 502ed64

Please sign in to comment.