1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

Upgrading to a 2048-bit DKIM key

This commit is contained in:
Tom Radtke 2020-01-16 16:47:27 +01:00
parent 6f910c5738
commit 9d213b213a
No known key found for this signature in database
GPG Key ID: 13EC38A1D490E6F6

View File

@ -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()