aboutsummaryrefslogtreecommitdiff
path: root/server/main.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-30 17:39:26 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-30 17:39:26 +0100
commit317b64b20bb44c37f6aef0008e65b18ab806cd51 (patch)
treefca396681b2c1de484846c4b987304cd669469a9 /server/main.go
parent9e6c301a830ef2675a2b2dab08002723b1315af4 (diff)
added and moved test data
Diffstat (limited to 'server/main.go')
-rw-r--r--server/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/main.go b/server/main.go
index 7cf9ccf..f98b114 100644
--- a/server/main.go
+++ b/server/main.go
@@ -20,8 +20,8 @@ var (
prefix = flag.String("prefix", "/st/v1", "a prefix that proceeds each endpoint path")
trillianID = flag.Int64("trillian_id", 5991359069696313945, "log identifier in the Trillian database")
rpcDeadline = flag.Duration("rpc_deadline", time.Second*10, "deadline for backend RPC requests")
- anchorPath = flag.String("anchor_path", "testdata/x509/root.pem", "path to a file containing PEM-encoded X.509 root certificates")
- keyPath = flag.String("key_path", "testdata/log/private.key", "path to a PEM-encoded ed25519 signing key")
+ anchorPath = flag.String("anchor_path", "../x509util/testdata/anchors.pem", "path to a file containing PEM-encoded X.509 root certificates")
+ keyPath = flag.String("key_path", "../x509util/testdata/log.key", "path to a PEM-encoded ed25519 signing key")
maxRange = flag.Int64("max_range", 2, "maximum number of entries that can be retrived in a single request")
maxChain = flag.Int64("max_chain", 3, "maximum number of certificates in a chain, including the trust anchor")
)