diff options
Diffstat (limited to 'cmd/sigsum-debug/genkey')
-rw-r--r-- | cmd/sigsum-debug/genkey/genkey.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/cmd/sigsum-debug/genkey/genkey.go b/cmd/sigsum-debug/genkey/genkey.go deleted file mode 100644 index 5f71e41..0000000 --- a/cmd/sigsum-debug/genkey/genkey.go +++ /dev/null @@ -1,19 +0,0 @@ -package genkey - -import ( - "crypto/ed25519" - "crypto/rand" - "fmt" - - "git.sigsum.org/sigsum-go/pkg/hex" -) - -func Main(_ []string) error { - _, priv, err := ed25519.GenerateKey(rand.Reader) - if err != nil { - return fmt.Errorf("genkey: %v", err) - } - - fmt.Printf("%s\n", hex.Serialize(priv[:])) - return nil -} |