From eb34524f0f35ead06e7e20468302cb193a127459 Mon Sep 17 00:00:00 2001 From: Grégoire Détrez Date: Fri, 17 Jun 2022 16:01:42 +0200 Subject: Store only the seed of the private key --- cmd/sigsum-debug/key/private/private.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/sigsum-debug/key/private') 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 } -- cgit v1.2.3