fix keys
This commit is contained in:
parent
f92368748a
commit
9db64e53e1
2 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,7 @@ func GenerateKeyPair(bytes int) (string, string, error) {
|
|||
}
|
||||
|
||||
privBlock := pem.Block{
|
||||
Type: "PRIVATE KEY",
|
||||
Type: "RSA PRIVATE KEY",
|
||||
Headers: nil,
|
||||
Bytes: x509.MarshalPKCS1PrivateKey(privateKey),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue