Skip to content

Commit

Permalink
Postal: use larger key for webhook tests
Browse files Browse the repository at this point in the history
cryptography v43.0 requires minimum 1024-bit keys
  • Loading branch information
medmunds committed Jul 20, 2024
1 parent e700ac9 commit 5e689cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils_postal.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5e689cd

Please sign in to comment.