diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-23 19:28:44 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-25 22:59:03 -0600 |
commit | 4c0b4a99982138c4ab83dfffb19975a91c57d1ab (patch) | |
tree | 08ea255f32c234c4a3236e91666c95ed1c0a4b04 /tests/hazmat/primitives/test_rsa.py | |
parent | 42b3713eede3f5b417b0ce123fdcc9c4c24009d3 (diff) | |
download | cryptography-4c0b4a99982138c4ab83dfffb19975a91c57d1ab.tar.gz cryptography-4c0b4a99982138c4ab83dfffb19975a91c57d1ab.tar.bz2 cryptography-4c0b4a99982138c4ab83dfffb19975a91c57d1ab.zip |
more kwargs
Diffstat (limited to 'tests/hazmat/primitives/test_rsa.py')
-rw-r--r-- | tests/hazmat/primitives/test_rsa.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py index 552bfc5f..fb4d1d77 100644 --- a/tests/hazmat/primitives/test_rsa.py +++ b/tests/hazmat/primitives/test_rsa.py @@ -457,7 +457,10 @@ class TestRSAVerification(object): ) def test_pkcs1v15_verification(self, pkcs1_example, backend): private, public, example = pkcs1_example - public_key = rsa.RSAPublicKey(**public) + public_key = rsa.RSAPublicKey( + public_exponent=public["public_exponent"], + modulus=public["modulus"] + ) verifier = public_key.verifier( binascii.unhexlify(example["signature"]), padding.PKCS1(), |