Skip to content

Conversation

mattsb42-aws
Copy link
Contributor

test_pycrypto_RSA_key_instance and test_cryptography_RSA_key_instance both test compatibility of the backend-explicit RSAKey classes with the backend-native RSA key structures. As such, these tests must use the backend-explicit RSAKey classes rather than the default loaded from jose.backends to avoid breaking when multiple backends are present.

NOTE: This fixes the algorithms/test_RSA.py::test_cryptography_RSA_key_instance failure in the compatibility test runs, but the base and cryptography runs still fail and the compatibility run still fails for the reason addressed in #115.

test_pycrypto_RSA_key_instance and test_cryptography_RSA_key_instance both test compatibility of
the backend-explicit RSAKey classes with the backend-native RSA key structures. As such, these
tests must use the backend-explicit RSAKey classes rather than the default loaded from jose.backends
to avoid breaking when multiple backends are present.
@mpdavis
Copy link
Owner

mpdavis commented Dec 27, 2018

LGTM

@mpdavis mpdavis merged commit 2ac41b7 into mpdavis:backend-explicit-tests Dec 27, 2018
@mattsb42-aws mattsb42-aws deleted the compat-rsa branch December 27, 2018 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants