change key size of private key

This commit is contained in:
Cypheriel 2023-12-11 13:36:40 -07:00
parent 6e93be94a1
commit 4cb9a81226
No known key found for this signature in database

View file

@ -56,7 +56,7 @@ def generate_push_cert() -> tuple[str, str]:
Returns [private key PEM, certificate PEM] Returns [private key PEM, certificate PEM]
""" """
private_key = rsa.generate_private_key( private_key = rsa.generate_private_key(
public_exponent=65537, key_size=2048, backend=default_backend() public_exponent=65537, key_size=1024, backend=default_backend()
) )
csr = _generate_csr(private_key) csr = _generate_csr(private_key)