From 622510be68600a5def13a58141fbd2922e77681e Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Tue, 15 Feb 2022 14:26:25 -0500 Subject: [PATCH] fix: ecdsa pem key type --- keygen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keygen.go b/keygen.go index 4f0bf1f..03ddb38 100644 --- a/keygen.go +++ b/keygen.go @@ -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, })