Group :: Development/Python3
RPM: python3-module-jose
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: jose-fedora-disable-test_key_too_short.patch
Download
Download
--- tests/algorithms/test_EC.py.orig 2020-05-19 13:30:45.751510090 +0800
+++ tests/algorithms/test_EC.py 2020-05-19 13:31:04.910669306 +0800
@@ -113,6 +113,8 @@
public_pem = key.public_key().to_pem()
assert ECKey(public_pem, ALGORITHMS.ES256).is_public()
+ @pytest.mark.skip('Enable again when this test is fixed in upstream.')
+ # https://github.com/mpdavis/python-jose/issues/176
@pytest.mark.parametrize("Backend,ExceptionType", _backend_exception_types())
def test_key_too_short(self, Backend, ExceptionType):
key = Backend(TOO_SHORT_PRIVATE_KEY, ALGORITHMS.ES512)