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:
parent
6f910c5738
commit
9d213b213a
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user