aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorGrégoire Détrez <gregoire@mullvad.net>2022-06-17 16:01:42 +0200
committerGrégoire Détrez <gregoire@mullvad.net>2022-06-17 16:01:42 +0200
commiteb34524f0f35ead06e7e20468302cb193a127459 (patch)
tree404b889af24cc718a7398455a511a3ac6a7946cd /cmd
parent6ff11f08eb4aec86efe48cf887781f3ea654ec10 (diff)
Store only the seed of the private key
Diffstat (limited to 'cmd')
-rw-r--r--cmd/sigsum-debug/key/private/private.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/sigsum-debug/key/private/private.go b/cmd/sigsum-debug/key/private/private.go
index 3928f56..70779c2 100644
--- a/cmd/sigsum-debug/key/private/private.go
+++ b/cmd/sigsum-debug/key/private/private.go
@@ -24,6 +24,6 @@ func Main(args []string) error {
return fmt.Errorf("invalid key size %d", len(priv))
}
- fmt.Printf("%s\n", hex.Serialize(priv[:]))
+ fmt.Printf("%s\n", hex.Serialize(priv.Seed()))
return nil
}