Skip to content

Commit 5e689cd

Browse files
committed
Postal: use larger key for webhook tests
cryptography v43.0 requires minimum 1024-bit keys
1 parent e700ac9 commit 5e689cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils_postal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def make_key():
1616
"""Generate RSA public key with short key size, for testing only"""
1717
private_key = rsa.generate_private_key(
1818
public_exponent=65537,
19-
key_size=512,
19+
key_size=1024,
2020
)
2121
return private_key
2222

0 commit comments

Comments
 (0)