Added output after generating keys
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
3d60be9eef
commit
7d150ff2f3
|
@ -18,6 +18,7 @@
|
||||||
package key
|
package key
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"encoding/hex"
|
||||||
"golang.org/x/crypto/ed25519"
|
"golang.org/x/crypto/ed25519"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"log"
|
"log"
|
||||||
|
@ -40,4 +41,5 @@ func GenKey() {
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println("Keys were generated successfully.")
|
log.Println("Keys were generated successfully.")
|
||||||
|
log.Printf("Public key (hex-encoded string): %s", hex.EncodeToString(pk))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue