From 9d213b213ad8367f14e88f8a4b3ca98c9e20cd92 Mon Sep 17 00:00:00 2001 From: Tom Radtke Date: Thu, 16 Jan 2020 16:47:27 +0100 Subject: [PATCH] Upgrading to a 2048-bit DKIM key --- core/admin/mailu/dkim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/admin/mailu/dkim.py b/core/admin/mailu/dkim.py index 2a9ceeee..e682c64c 100644 --- a/core/admin/mailu/dkim.py +++ b/core/admin/mailu/dkim.py @@ -5,7 +5,7 @@ They are thus represented as ASCII armored PEM. from OpenSSL import crypto -def gen_key(key_type=crypto.TYPE_RSA, bits=1024): +def gen_key(key_type=crypto.TYPE_RSA, bits=2048): """ Generate and return a new RSA key. """ key = crypto.PKey()