remove debug print

This commit is contained in:
Mechiel Lukkien 2023-04-22 08:41:56 +02:00
parent 517fb31212
commit 1f4df30019
No known key found for this signature in database

View file

@ -125,8 +125,7 @@ func cmdUpdatesPubkey(c *cmd) {
} }
seed := make([]byte, ed25519.SeedSize) seed := make([]byte, ed25519.SeedSize)
n, err := io.ReadFull(base64.NewDecoder(base64.StdEncoding, os.Stdin), seed) _, err := io.ReadFull(base64.NewDecoder(base64.StdEncoding, os.Stdin), seed)
log.Printf("n %d", n)
xcheckf(err, "reading private key") xcheckf(err, "reading private key")
privKey := ed25519.NewKeyFromSeed(seed) privKey := ed25519.NewKeyFromSeed(seed)
pubKey := []byte(privKey.Public().(ed25519.PublicKey)) pubKey := []byte(privKey.Public().(ed25519.PublicKey))