Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gt2345 committed Oct 24, 2024
1 parent bf78880 commit 1690bb7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions master/pkg/ssh/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ func generateECDSAKey() (PrivateAndPublicKeys, error) {
}

func generateED25519Key() (PrivateAndPublicKeys, error) {

ed25519PublicKey, privateKey, err := ed25519.GenerateKey(nil)
if err != nil {
return PrivateAndPublicKeys{}, errors.Wrap(err, "unable to generate ED25519 private key")
Expand All @@ -117,5 +116,4 @@ func generateED25519Key() (PrivateAndPublicKeys, error) {
PrivateKey: pem.EncodeToMemory(block),
PublicKey: sshlib.MarshalAuthorizedKey(publicKey),
}, nil

}

0 comments on commit 1690bb7

Please sign in to comment.