dovecot23/openssl-cnf-default_bits-2048.patch
Dirk Mueller 66ae4aab60 Accepting request 893083 from home:favogt:branches:server:mail
- Add patch to fix insecure default openssl.cnf (boo#1184552):
  * openssl-cnf-default_bits-2048.patch
- Use %autosetup

OBS-URL: https://build.opensuse.org/request/show/893083
OBS-URL: https://build.opensuse.org/package/show/server:mail/dovecot23?expand=0&rev=94
2021-05-15 19:51:48 +00:00

22 lines
696 B
Diff

From 397ca180b8e58bf38525afcf9af249b190120607 Mon Sep 17 00:00:00 2001
From: Arjen de Korte <build+github@de-korte.org>
Date: Sat, 10 Apr 2021 13:52:15 +0200
Subject: [PATCH] doc/openssl.cnf: Increase default_bits to 2048
NIST guidelines mandate that all SSL certificates must be of at least 2048 key length
---
doc/dovecot-openssl.cnf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/dovecot-openssl.cnf b/doc/dovecot-openssl.cnf
index b2dfebfea9..f65a80cc2f 100644
--- a/doc/dovecot-openssl.cnf
+++ b/doc/dovecot-openssl.cnf
@@ -1,5 +1,5 @@
[ req ]
-default_bits = 1024
+default_bits = 2048
encrypt_key = yes
distinguished_name = req_dn
x509_extensions = cert_type