aboutsummaryrefslogtreecommitdiff
path: root/cmd/tmp/keygen
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-04-29 23:00:26 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-04-29 23:00:26 +0200
commit7661965ed955bc3b8fcbc544a346020e15678c02 (patch)
treed382464d2775d5417659daaeeb56c839cb91a676 /cmd/tmp/keygen
parent203e2144f67269e879716e6406bb78e8e3728938 (diff)
remove programs that sigsum-debug replaced
Diffstat (limited to 'cmd/tmp/keygen')
-rw-r--r--cmd/tmp/keygen/main.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/cmd/tmp/keygen/main.go b/cmd/tmp/keygen/main.go
deleted file mode 100644
index b692f7f..0000000
--- a/cmd/tmp/keygen/main.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package main
-
-import (
- "crypto/ed25519"
- "crypto/rand"
- "fmt"
- "log"
-
- "git.sigsum.org/sigsum-go/pkg/types"
-)
-
-func main() {
- vk, sk, err := ed25519.GenerateKey(rand.Reader)
- if err != nil {
- log.Fatalf("GenerateKey: %v", err)
- }
- fmt.Printf("sk: %x\n", sk[:])
- fmt.Printf("vk: %x\n", vk[:])
- fmt.Printf("kh: %x\n", types.HashFn(vk[:])[:])
-}