pytest marks for RSA
diff --git a/pytest.ini b/pytest.ini
index 2a1b6e9..3f65e30 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -5,4 +5,5 @@
hash: this test requires a backend providing HashBackend
hmac: this test requires a backend providing HMACBackend
pbkdf2hmac: this test requires a backend providing PBKDF2HMACBackend
+ rsa: this test requires a backend providing RSABackend
supported: parametrized test requiring only_if and skip_message
diff --git a/tests/conftest.py b/tests/conftest.py
index ecad1b2..64982ef 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -2,7 +2,7 @@
from cryptography.hazmat.backends import _ALL_BACKENDS
from cryptography.hazmat.backends.interfaces import (
- HMACBackend, CipherBackend, HashBackend, PBKDF2HMACBackend
+ HMACBackend, CipherBackend, HashBackend, PBKDF2HMACBackend, RSABackend
)
from .utils import check_for_iface, check_backend_support, select_backends
@@ -22,6 +22,7 @@
check_for_iface("cipher", CipherBackend, item)
check_for_iface("hash", HashBackend, item)
check_for_iface("pbkdf2hmac", PBKDF2HMACBackend, item)
+ check_for_iface("rsa", RSABackend, item)
check_backend_support(item)