diff options
author | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-04-23 18:44:09 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-04-23 18:44:09 +0200 |
commit | cc9bb6a069d62ed37b7f4866d6dfe37049dc1cf1 (patch) | |
tree | 3dc49efe0e0690656897dc8562da6b7cbc41c9ea /cmd/sigsum-debug/genkey/genkey.go | |
parent | 2c28b4209be2ced9a18c20347e1819a24a45cb66 (diff) |
Diffstat (limited to 'cmd/sigsum-debug/genkey/genkey.go')
-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 -} |