From 203e2144f67269e879716e6406bb78e8e3728938 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 29 Apr 2022 15:31:45 +0200 Subject: change verification_key to public_key Issue: #40 --- cmd/tmp/dns/main.go | 2 +- cmd/tmp/submit/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/tmp') diff --git a/cmd/tmp/dns/main.go b/cmd/tmp/dns/main.go index bb505b3..ea0a4e5 100644 --- a/cmd/tmp/dns/main.go +++ b/cmd/tmp/dns/main.go @@ -12,7 +12,7 @@ import ( ) var ( - vk = flag.String("vk", "5aed7ffc3bc088221f6579567b2e6e3c4ac3579bd5e77670755179052c68d5d3", "verification key (hex)") + vk = flag.String("vk", "5aed7ffc3bc088221f6579567b2e6e3c4ac3579bd5e77670755179052c68d5d3", "public key (hex)") domain_hint = flag.String("domain_hint", "example.com", "domain name that is aware of public key hash in hex") ) diff --git a/cmd/tmp/submit/main.go b/cmd/tmp/submit/main.go index ff7a353..5699945 100644 --- a/cmd/tmp/submit/main.go +++ b/cmd/tmp/submit/main.go @@ -41,7 +41,7 @@ func main() { } sig := ed25519.Sign(priv, msg.ToBinary()) - fmt.Printf("echo \"shard_hint=%d\nmessage=%x\nsignature=%x\nverification_key=%x\ndomain_hint=%s\" | curl --data-binary @- %s/sigsum/v0/add-leaf\n", + fmt.Printf("echo \"shard_hint=%d\nmessage=%x\nsignature=%x\npublic_key=%x\ndomain_hint=%s\" | curl --data-binary @- %s/sigsum/v0/add-leaf\n", *shardHint, p[:], sig, -- cgit v1.2.3