We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 267f5ce commit f96daecCopy full SHA for f96daec
tests/algorithms/test_RSA.py
@@ -345,8 +345,9 @@ def test_pycrypto_RSA_key_instance():
345
@pytest.mark.pycrypto
346
@pytest.mark.pycryptodome
347
@pytest.mark.parametrize("private_key", PRIVATE_KEYS)
348
+@pytest.mark.skipif(None in (PyCryptoRSA, PyCryptoRSAKey), reason="Pycrypto/dome backend not available")
349
def test_pycrypto_unencoded_cleartext(private_key):
- key = RSAKey(private_key, ALGORITHMS.RS256)
350
+ key = PyCryptoRSAKey(private_key, ALGORITHMS.RS256)
351
msg = b'test'
352
signature = key.sign(msg)
353
public_key = key.public_key()
0 commit comments