mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2024-12-24 03:42:43 -06:00
change key size of private key
This commit is contained in:
parent
6e93be94a1
commit
4cb9a81226
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ def generate_push_cert() -> tuple[str, str]:
|
|||
Returns [private key PEM, certificate PEM]
|
||||
"""
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue