mirror of
https://github.com/mjl-/mox.git
synced 2024-12-25 16:03:48 +03:00
remove debug print
This commit is contained in:
parent
517fb31212
commit
1f4df30019
1 changed files with 1 additions and 2 deletions
|
@ -125,8 +125,7 @@ func cmdUpdatesPubkey(c *cmd) {
|
|||
}
|
||||
|
||||
seed := make([]byte, ed25519.SeedSize)
|
||||
n, err := io.ReadFull(base64.NewDecoder(base64.StdEncoding, os.Stdin), seed)
|
||||
log.Printf("n %d", n)
|
||||
_, err := io.ReadFull(base64.NewDecoder(base64.StdEncoding, os.Stdin), seed)
|
||||
xcheckf(err, "reading private key")
|
||||
privKey := ed25519.NewKeyFromSeed(seed)
|
||||
pubKey := []byte(privKey.Public().(ed25519.PublicKey))
|
||||
|
|
Loading…
Reference in a new issue