- golang-github-mikesmitty-edkey-dev (>= 0.0~git20170222.3356ea4)
- golang-github-mitchellh-go-homedir-dev (>= 1.1.0)
- golang-golang-x-crypto-dev (>= 1:0.0~git20210817.32db794)
Go package keygen is an SSH key pair generator.
Supports generating RSA and Ed25519 keys.
.
Example
.
k, err := NewWithWrite(".ssh", "my_awesome_key", []byte(""), key.Ed25519)
if err != nil {
fmt.Printf("error creating SSH key pair: %v", err)
os.Exit(1)
}
Installed Size: 28.7 kB
Architectures: all