aboutsummaryrefslogtreecommitdiff
path: root/client/get-consistency-proof
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-05 17:20:59 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-05 17:20:59 +0100
commitadf6cab5b81863c02354a6b937d799e285955f46 (patch)
tree825d2f87d7b60f800b198b8a17fd03f0c127404d /client/get-consistency-proof
parentda6392a7ca65599e950542dc59e62ea3713947f1 (diff)
allowed client configuration without certificate chain (2)
Missed a few files.
Diffstat (limited to 'client/get-consistency-proof')
-rw-r--r--client/get-consistency-proof/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/get-consistency-proof/main.go b/client/get-consistency-proof/main.go
index acf116e..316bbdc 100644
--- a/client/get-consistency-proof/main.go
+++ b/client/get-consistency-proof/main.go
@@ -15,7 +15,6 @@ import (
var (
operators = flag.String("operators", "../../descriptor/stfe.json", "path to json-encoded list of log operators")
logId = flag.String("log_id", "B9oCJk4XIOMXba8dBM5yUj+NLtqTE6xHwbvR9dYkHPM=", "base64-encoded log identifier")
- chain = flag.String("chain", "../../server/testdata/x509/end-entity.pem", "path to pem-encoded certificate chain that the log accepts")
first = flag.String("first", "AAEgB9oCJk4XIOMXba8dBM5yUj+NLtqTE6xHwbvR9dYkHPMAAAF1jnn7fwAAAAAAAAAxICCqLJn4QWYd0aRIRjDWGf4GWalDIb/iH60jSSX89WgvAAAAQF9XPFRdM56KaelHFFg1RqjTw1yFL085zHhdNkLeZh9BCXxVTByqrHEMngAkY69EX45aJMWh9NymmPau0qoigA8=", "first base64-encoded StItem of type StFormatSignedTreeHeadV1")
second = flag.String("second", "AAEgB9oCJk4XIOMXba8dBM5yUj+NLtqTE6xHwbvR9dYkHPMAAAF1jsZrygAAAAAAAABFIL7Zz0WEolql7o7G496Izl7Qy/l2Qd/Pwc87W8jFPoL6AAAAQHc7ttIDUKuMJR7uqCLb3qqAxiwEN5KLt/7IblT7f+QaKq4BqqI3cO6vT3eMSZMHZDd4EkgvkAwo1o7IsA4N8Qc=", "second base64-encoded StItem of type StFormatSignedTreeHeadV1")
)
@@ -23,7 +22,7 @@ var (
func main() {
flag.Parse()
- cli, err := client.NewClientFromPath(*logId, *chain, "", *operators, &http.Client{}, true)
+ cli, err := client.NewClientFromPath(*logId, "", "", *operators, &http.Client{}, true)
if err != nil {
glog.Fatal(err)
}