File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def _mock_small_cert_size():
2121 In tests, we don't need to create large certs. Making the size small
2222 makes these tests faster by an order of magnitude.
2323 """
24- with mock .patch ('cfy_manager.utils.certificates.CERT_SIZE' , 512 ):
24+ with mock .patch ('cfy_manager.utils.certificates.CERT_SIZE' , 1024 ):
2525 yield
2626
2727
@@ -77,7 +77,7 @@ def ca_cert(tmpdir):
7777
7878 key = rsa .generate_private_key (
7979 public_exponent = 65537 ,
80- key_size = 512 , # no need for a big key in tests
80+ key_size = 1024 , # cryptography 42.0.3/changelog/3.3
8181 )
8282 key_password = 'key_password1'
8383
@@ -289,7 +289,7 @@ def test_remove_key_encryption(tmpdir, ca_cert):
289289
290290 key = rsa .generate_private_key (
291291 public_exponent = 65537 ,
292- key_size = 512 ,
292+ key_size = 1024 ,
293293 )
294294 with open (source_key , 'wb' ) as key_file :
295295 key_pem = key .private_bytes (
You can’t perform that action at this time.
0 commit comments