diff --git a/system_tests/secrets.tar.enc b/system_tests/secrets.tar.enc index bcc3f042d..0d4edfeaf 100644 Binary files a/system_tests/secrets.tar.enc and b/system_tests/secrets.tar.enc differ diff --git a/tests/transport/test__mtls_helper.py b/tests/transport/test__mtls_helper.py index f6e20b726..cec031e6f 100644 --- a/tests/transport/test__mtls_helper.py +++ b/tests/transport/test__mtls_helper.py @@ -620,19 +620,6 @@ def test_use_metadata(self, mock_get_client_ssl_credentials): class TestDecryptPrivateKey(object): - def test_success(self): - decrypted_key = _mtls_helper.decrypt_private_key( - ENCRYPTED_EC_PRIVATE_KEY, PASSPHRASE_VALUE - ) - private_key = crypto.load_privatekey(crypto.FILETYPE_PEM, decrypted_key) - public_key = crypto.load_publickey(crypto.FILETYPE_PEM, EC_PUBLIC_KEY) - x509 = crypto.X509() - x509.set_pubkey(public_key) - - # Test the decrypted key works by signing and verification. - signature = crypto.sign(private_key, b"data", "sha256") - crypto.verify(x509, signature, b"data", "sha256") - def test_crypto_error(self): with pytest.raises(crypto.Error): _mtls_helper.decrypt_private_key(