Skip to content

Commit

Permalink
Bump hardcoded key length to 4096
Browse files Browse the repository at this point in the history
  • Loading branch information
miterion committed Jul 24, 2019
1 parent ae7ead2 commit 25f3a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dfngen/openssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

def gen_csr_with_new_cert(fqdn, subject, password, altnames=None):
key = rsa.generate_private_key(
public_exponent=65537, key_size=2048, backend=default_backend())
public_exponent=65537, key_size=4096, backend=default_backend())
with open('{}.key'.format(fqdn), 'wb') as f:
if password:
f.write(
Expand Down

0 comments on commit 25f3a5c

Please sign in to comment.