Skip to content

Commit c2898f2

Browse files
author
Steve Brunton
committed
private key header fix
1 parent b85fb37 commit c2898f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/create.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func savePrivate(filename string, key *rsa.PrivateKey) string {
8585
}
8686
defer f.Close()
8787
pk := &pem.Block{
88-
Type: "PRIVATE KEY",
88+
Type: "RSA PRIVATE KEY",
8989
Bytes: x509.MarshalPKCS1PrivateKey(key),
9090
}
9191

0 commit comments

Comments
 (0)