mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
Postal: use larger key for webhook tests
cryptography v43.0 requires minimum 1024-bit keys
This commit is contained in:
@@ -16,7 +16,7 @@ def make_key():
|
||||
"""Generate RSA public key with short key size, for testing only"""
|
||||
private_key = rsa.generate_private_key(
|
||||
public_exponent=65537,
|
||||
key_size=512,
|
||||
key_size=1024,
|
||||
)
|
||||
return private_key
|
||||
|
||||
|
||||
Reference in New Issue
Block a user