Skip to content

Commit

Permalink
fix: ecdsa pem key type
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Feb 15, 2022
1 parent 953ea8f commit 622510b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keygen.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (s *SSHKeyPair) generateECDSAKeys() error {
return err
}
pemBlock := pem.EncodeToMemory(&pem.Block{
Type: "OPENSSH PRIVATE KEY",
Type: "EC PRIVATE KEY",
Bytes: bts,
})

Expand Down

0 comments on commit 622510b

Please sign in to comment.