From 9db64e53e15b79224e2e3d1ee40997fc0a3d4c92 Mon Sep 17 00:00:00 2001 From: Thomas Maurice <thomas@maurice.fr> Date: Sun, 11 Feb 2024 20:36:28 +0100 Subject: [PATCH] fix keys --- .gitignore | 4 +++- pkg/crypto/key.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c564ff6..5bff213 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -mailout.yml \ No newline at end of file +mailout.yml +mailout-prod.yml +mailout diff --git a/pkg/crypto/key.go b/pkg/crypto/key.go index a23d1e4..2d2f360 100644 --- a/pkg/crypto/key.go +++ b/pkg/crypto/key.go @@ -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), }