fix keys
This commit is contained in:
parent
f92368748a
commit
9db64e53e1
2 changed files with 4 additions and 2 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
mailout.yml
|
||||
mailout.yml
|
||||
mailout-prod.yml
|
||||
mailout
|
||||
|
|
|
@ -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
Reference in a new issue