aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends/test_openssl.py
Commit message (Collapse)AuthorAgeFilesLines
* update some decryption testsPaul Kehrer2014-04-251-3/+3
|
* OAEP support for RSA decryptionPaul Kehrer2014-04-221-0/+51
|
* Added missing tests for 100% coverageAyrx2014-04-221-0/+16
|
* remove OAEP decryption to simplify reviewPaul Kehrer2014-04-201-51/+0
|
* docs, tests, general huge improvements to RSA decryptionPaul Kehrer2014-04-201-2/+53
|
* Inplace mode for _int_to_bnAlex Stapleton2014-04-201-0/+19
| | | | Mostly useful for working with (EC)?DSA_SIG right now
* move some rsa tests to a new classPaul Kehrer2014-04-161-38/+40
|
* pep8, ironyAlex Gaynor2014-04-051-1/+0
|
* Some cleanups to importsAlex Gaynor2014-04-051-6/+3
|
* Add DSABackendMohammed Attia2014-04-041-0/+12
|
* Add tests for DSA parameters and key generationMohammed Attia2014-04-031-1/+12
|
* Update tests and raise sitesAlex Stapleton2014-03-271-5/+9
|
* Fixed #809 -- switch back to always using UnsupportedAlgorithmAlex Gaynor2014-03-271-7/+5
|
* Merge branch 'master' into rsa-pss-signingPaul Kehrer2014-03-201-4/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: add mgf1_hash_supported unsupported hash check more concise way of generating tests switch to a lambda rename some things add FIPS 186-2/3 signature verification tests for RSA PKCSv15 and PSS revert one import order change a few small fixes Add ASN1_TIME_free import order fixes for future automated checking Conflicts: tests/hazmat/primitives/test_rsa.py tests/hazmat/primitives/utils.py
| * add mgf1_hash_supported unsupported hash checkPaul Kehrer2014-03-191-0/+8
| |
| * import order fixes for future automated checkingPaul Kehrer2014-03-191-4/+4
| |
* | RSA PSS signature supportPaul Kehrer2014-03-191-0/+11
|/
* cover a missing line for older opensslPaul Kehrer2014-03-161-0/+25
|
* Added future imports and licenses that are missingAlex Gaynor2014-03-081-0/+2
|
* Convert stuffAlex Gaynor2014-03-061-3/+5
|
* raise InternalErrorAlex Stapleton2014-03-011-1/+10
|
* pep8Alex Stapleton2014-03-011-1/+1
|
* Get rid of handle_errorsAlex Stapleton2014-03-011-34/+5
|
* remove deactivate and replace with activate_builtin_randomPaul Kehrer2014-02-051-147/+13
|
* Merge branch 'master' into urandom-enginePaul Kehrer2014-02-051-1/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: PKCS #1 RSA test vector loader Removed pointless anchor Docs need virtualenv as well Everything about bash is the worst Some reST markup nonsense Fix for OS X More clearly describe the behavior of constant_time.bytes_eq Run the doc tests under OS X Made OpenSSL's derive_pbkdf2_hmac raise the right exception Document which backends implement which itnerfaces. Fixes #538 pep8 Fixed a typo in the docs Make the default backend be a multi-backend Conflicts: tests/hazmat/backends/test_openssl.py
| * Made OpenSSL's derive_pbkdf2_hmac raise the right exceptionAlex Gaynor2014-02-041-1/+7
| |
* | assert the right thingPaul Kehrer2014-02-041-1/+1
| |
* | Merge branch 'master' into urandom-enginePaul Kehrer2014-02-031-17/+50
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (66 commits) Chanloge + versionadded Added an example usage Typo fix Added to toctree Rename and document Linkify the things we have that others don't add HKDF to changelog Strings have quote marks at both ends. HKDF example. Properly mark all test cases as dependant on HMAC. Remove language about the separate stages of HKDF until we expose multiple stages of HKDF. Don't forget InvalidKey. Fix typo Import exception classes instead of the exceptions module. Lose the bit about passwords. https a bunch of links. Pseudorandom is a word. Backtick the entire equation. Clarify salt language and link to the paper in addition to the RFC. Don't expose extract and expand on this class yet because we don't know how best to expose verify functionality, continue testing the stages using the private methods. ... Conflicts: docs/hazmat/backends/openssl.rst
| * Merge branch 'master' into prioritized-multi-backendAlex Gaynor2014-02-031-13/+50
| |\
| | * More detailed error message for InternalErrorAlex Stapleton2014-02-021-0/+17
| | | | | | | | | | | | | | | Uses ERR_error_string_n because the source contains horrible warnings against ever using ERR_error_string.
| | * Handle multiple errors on the stackAlex Stapleton2014-02-011-13/+33
| | |
| * | pep8 fixesAlex Gaynor2014-01-311-1/+0
| | |
| * | Not true anymoreAlex Gaynor2014-01-301-3/+0
| |/
* | add catastrophic failure check to testsPaul Kehrer2014-02-021-0/+7
| |
* | change register/unregister to activate/deactivatePaul Kehrer2014-01-311-20/+20
| |
* | add windows support to random engine testsPaul Kehrer2014-01-291-1/+8
| |
* | Merge branch 'master' into urandom-enginePaul Kehrer2014-01-291-5/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (108 commits) PBKDF2HMAC requires a PBKDF2HMACBackend provider. one more replacement simplify hmac supported and hash supported calls for commoncrypto simplify check for algorithm a bit more language work + changelog changes for pbkdf2hmac one more style fix a few typo fixes, capitalization, etc switch to private attributes in pbkdf2hmac expand docs to talk more about the purposes of KDFs update docs re: PBKDF2HMAC iterations add test for null char replacement Added installation section to index.rst called -> used quotes inside, diff examples Expose this method because probably someone will need it eventually fix spacing, remove versionadded since HashAlgorithm was in 0.1 document HashAlgorithm Added canonical installation document with details about various platforms, fixes #519 update docs for pbkdf2 Add bindings for X509_REQ_get_extensions. ... Conflicts: cryptography/hazmat/bindings/openssl/binding.py docs/hazmat/backends/openssl.rst
| * Switch to using our own InternalError, instead of SystemErrorAlex Gaynor2014-01-241-5/+5
| |
* | Merge branch 'master' into urandom-enginePaul Kehrer2014-01-111-0/+21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (169 commits) Make just one call to ffi.cdef for most of the definitions Use pytest.fixture for backends drop to >= 0.8 to make pypy happy change to anonymous enum require cffi >= 0.8.1 remove extraneous spaces add hmac to commoncrypto binding bytes byte back add check to confirm we've loaded error strings Bind all the PEM errors Spelling! oops, bytes plz don't leak a context in the test add tests to the openssl backend to verify that we've registered Nonsense I think we need. This is a dep init the ssl library in the backend Actuall install a thing Try to run the spellchecker on travis Use a normal quote here, not sure where the smart quote came from ... Conflicts: cryptography/hazmat/bindings/openssl/binding.py tests/hazmat/backends/test_openssl.py
| * bytes byte backPaul Kehrer2014-01-101-2/+3
| |
| * add check to confirm we've loaded error stringsPaul Kehrer2014-01-101-0/+7
| |
| * oops, bytes plzPaul Kehrer2014-01-101-1/+1
| |
| * don't leak a context in the testPaul Kehrer2014-01-101-1/+3
| |
| * add tests to the openssl backend to verify that we've registeredPaul Kehrer2014-01-101-0/+8
| | | | | | | | evp ciphers and ssl ciphers
| * Merge branch 'master' into validate-ivAlex Gaynor2014-01-021-11/+6
| |\ | | | | | | | | | | | | Conflicts: cryptography/hazmat/primitives/ciphers/modes.py
| * \ Merge branch 'master' into validate-ivAlex Gaynor2014-01-011-4/+8
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: tests/hazmat/backends/test_openssl.py tests/hazmat/primitives/test_block.py
| * | | Merge branch 'master' into validate-ivAlex Gaynor2013-12-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cryptography/hazmat/primitives/ciphers/modes.py tests/hazmat/primitives/test_block.py
* | | | handle lib/ffi on backend becoming privatePaul Kehrer2014-01-021-64/+64
| | | |
* | | | Merge branch 'master' into urandom-enginePaul Kehrer2014-01-021-11/+6
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | * master: Revert "Travis now has an up to date pypy" Make capitalization in the glossary consistent and sort it Make lib and ffi be private on backend
| * | | Make lib and ffi be private on backendAlex Gaynor2014-01-011-11/+6
| | |/ | |/| | | | | | | Because now they are public on a binding instance if you need them!