1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
1319: Upgrading to a 2048-bit DKIM key r=mergify[bot] a=radtkedev

## What type of PR?

Enhancement

## What does this PR do?

Upgrades to a 2048-bit DKIM key from the currently used and outdated 1024-bit DKIM key.

### Related issue(s)
- #1301 

Co-authored-by: Tom Radtke <tom@radtke.dev>
This commit is contained in:
bors[bot] 2020-01-19 16:45:19 +00:00 committed by GitHub
commit ad041094e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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