Skip to content

Commit

Permalink
Increase default key size to 1024 bits
Browse files Browse the repository at this point in the history
Fix #611
  • Loading branch information
untitaker committed Oct 27, 2014
1 parent 4933bb1 commit cbec4d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ Release date and codename to be decided
the path ``/`` and an empty one (issue ``#360``).
- The interactive debugger now tries to decode non-ascii filenames (issue
``#469``).
- Increased default key size of generated SSL certificates to 1024 bits (issue
``#611``).

Version 0.9.7
-------------
Expand Down
2 changes: 1 addition & 1 deletion werkzeug/serving.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def generate_adhoc_ssl_pair(cn=None):
issuer.O = 'Self-Signed'

pkey = crypto.PKey()
pkey.generate_key(crypto.TYPE_RSA, 768)
pkey.generate_key(crypto.TYPE_RSA, 1024)
cert.set_pubkey(pkey)
cert.sign(pkey, 'md5')

Expand Down

0 comments on commit cbec4d1

Please sign in to comment.