Upgrading to a 2048-bit DKIM key

master
Tom Radtke 5 years ago
parent 6f910c5738
commit 9d213b213a
No known key found for this signature in database
GPG Key ID: 13EC38A1D490E6F6

@ -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…
Cancel
Save