aboutsummaryrefslogtreecommitdiffstats
path: root/tests/hazmat/backends/test_openssl.py
Commit message (Collapse)AuthorAgeFilesLines
* 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!
* | | rename urandom engine to osrandom enginePaul Kehrer2013-12-311-23/+23
| | |
* | | improve init/finish engine funcs, do a better job inc/dec struct/func refsPaul Kehrer2013-12-311-21/+3
| | |
* | | Add dummy engine to tests and test other engine scenariosPaul Kehrer2013-12-311-4/+153
| | | | | | | | | | | | Modify register_urandom_engine to fix a leak
* | | add urandom engine register/unregister testsPaul Kehrer2013-12-301-0/+58
|/ / | | | | | | also rename some variables in the urandom engine for easier comparison
* / UnsupportedAlgorithm error messages for CiphersAlex Stapleton2013-12-221-5/+7
|/
* Also rename teh testsAlex Gaynor2013-12-131-0/+97