aboutsummaryrefslogtreecommitdiff
path: root/client/get-proof-by-hash
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-proof-by-hash
parentda6392a7ca65599e950542dc59e62ea3713947f1 (diff)
allowed client configuration without certificate chain (2)
Missed a few files.
Diffstat (limited to 'client/get-proof-by-hash')
-rw-r--r--client/get-proof-by-hash/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/get-proof-by-hash/main.go b/client/get-proof-by-hash/main.go
index 04dd7dc..964bcda 100644
--- a/client/get-proof-by-hash/main.go
+++ b/client/get-proof-by-hash/main.go
@@ -16,7 +16,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")
signedTreeHead = flag.String("sth", "AAEgB9oCJk4XIOMXba8dBM5yUj+NLtqTE6xHwbvR9dYkHPMAAAF1jnn7fwAAAAAAAAAxICCqLJn4QWYd0aRIRjDWGf4GWalDIb/iH60jSSX89WgvAAAAQF9XPFRdM56KaelHFFg1RqjTw1yFL085zHhdNkLeZh9BCXxVTByqrHEMngAkY69EX45aJMWh9NymmPau0qoigA8=", "base64-encoded StItem of type StFormatSignedTreeHeadV1")
entry = flag.String("entry", "AAUBOCAsYkIyzdIhdxKU37sxCsoACg32rItmtpbZDvBv3vtkow==", "base64-encoded StItem of type StFormatChecksumV1")
)
@@ -24,7 +23,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)
}