mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 08:23: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)
|
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))
|
||||||
|
|
Loading…
Reference in a new issue