aboutsummaryrefslogtreecommitdiff
path: root/cmd/tmp/submit/main.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-09-13 13:26:06 +0200
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-09-13 13:26:06 +0200
commit33e199c9939e110bd677e7b3e43547c6e55bb6e2 (patch)
tree7587ba4cc0faed4bf56eba4bbcc1020c27bd981e /cmd/tmp/submit/main.go
parentb12bbcfb850542d92275d1e0a65aac641c30a1ee (diff)
fixed {st,stfe,system-transparency} -> sigsum
Diffstat (limited to 'cmd/tmp/submit/main.go')
-rw-r--r--cmd/tmp/submit/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/tmp/submit/main.go b/cmd/tmp/submit/main.go
index 3dcaa97..43fd457 100644
--- a/cmd/tmp/submit/main.go
+++ b/cmd/tmp/submit/main.go
@@ -7,7 +7,7 @@ import (
"crypto/rand"
"fmt"
- "github.com/system-transparency/stfe/pkg/types"
+ "golang.sigsum.org/sigsum-log-go/pkg/types"
)
func main() {
@@ -25,5 +25,5 @@ func main() {
sig := ed25519.Sign(sk, msg.Marshal())
//fmt.Printf("sk: %x\nvk: %x\n", sk[:], vk[:])
- fmt.Printf("echo \"shard_hint=%d\nchecksum=%x\nsignature_over_message=%x\nverification_key=%x\ndomain_hint=%s\" | curl --data-binary @- localhost:6965/st/v0/add-leaf\n", msg.ShardHint, msg.Checksum[:], sig, vk[:], "example.com")
+ fmt.Printf("echo \"shard_hint=%d\nchecksum=%x\nsignature=%x\nverification_key=%x\ndomain_hint=%s\" | curl --data-binary @- localhost:6965/sigsum/v0/add-leaf\n", msg.ShardHint, msg.Checksum[:], sig, vk[:], "example.com")
}