diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2020-10-27 22:12:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-27 19:12:50 -0700 |
| commit | 0c7592c34fd58f0634f493d6ce542ab35d940b26 (patch) | |
| tree | f371c54a8d0d5a6103a63f6d60524b82309f7c90 /tests | |
| parent | c9e65222c91df8b6f61650a3460e30232962c1e0 (diff) | |
| download | cryptography-3.2.x.tar.gz | |
* Disable blinding for RSA pub keys (#5524)
* Bump to 3.2.1
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/hazmat/primitives/test_rsa.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/hazmat/primitives/test_rsa.py b/tests/hazmat/primitives/test_rsa.py index d7fa7744f..1a770d3ef 100644 --- a/tests/hazmat/primitives/test_rsa.py +++ b/tests/hazmat/primitives/test_rsa.py @@ -1894,6 +1894,9 @@ class TestRSANumbers(object): public_key = RSA_KEY_1024.public_numbers.public_key(backend) assert public_key + public_key = rsa.RSAPublicNumbers(n=10, e=3).public_key(backend) + assert public_key + def test_public_numbers_invalid_types(self): with pytest.raises(TypeError): rsa.RSAPublicNumbers(e=None, n=15) |
