aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
Commit message (Collapse)AuthorAgeFilesLines
...
| * | forward declaration wooPaul Kehrer2014-02-041-0/+2
| | |
| * | cryptgenrandom returns all requested bytes or errors, so no loop requiredPaul Kehrer2014-02-041-10/+3
| | |
| * | close the fd if fcntl failsPaul Kehrer2014-02-041-0/+1
| | |
| * | Merge branch 'master' into urandom-enginePaul Kehrer2014-02-036-8/+254
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | | change register/unregister to activate/deactivatePaul Kehrer2014-01-311-6/+6
| | | |
| * | | address review comments on osrandom engine, reorganize some codePaul Kehrer2014-01-301-59/+78
| | | |
| * | | link against advapi32 on windowsPaul Kehrer2014-01-291-1/+1
| | | |
| * | | Merge branch 'master' into urandom-enginePaul Kehrer2014-01-2917-23/+746
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * \ \ \ Merge branch 'master' into urandom-enginePaul Kehrer2014-01-2018-27/+593
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (58 commits) Moar backtick. Add to changelog. move some dashes around :) experiment to disable duplicate cc test runs on osx and speed up travis Remove register_cipher_adapter from the interface and the documentation. expand tox backend example On OS X at build time compile the CC bindings remove an extraneous linefeed reformat bindings and remove GCM for the moment add cipher bindings for CommonCrypto doc updates hmac support for commoncrypto added versionadded changelog to note addition of commoncrypto backend with hash support fix docs doc updates update docs for name attribute fix copy mistake in docs increase indent and note the value of the attribute in the docs move HashMethods to top level ...
| * \ \ \ \ Merge branch 'master' into urandom-enginePaul Kehrer2014-01-1116-104/+505
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | | | | | handle lib/ffi on backend becoming privatePaul Kehrer2014-01-021-21/+21
| | | | | | |
| * | | | | | Merge branch 'master' into urandom-enginePaul Kehrer2014-01-021-95/+107
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * \ \ \ \ \ \ Merge branch 'master' into urandom-enginePaul Kehrer2014-01-0131-144/+208
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Split OpenSSL binding Fixed test for earlier exceptino Rearrange Move GCM tag size/value validation farther forward -- this makes it easier by not requiring future backends to implement the same checks expose num_locks and {get,set}_{id,locking}_callback Make the PyPy tox job consistent with the main one. THis should be a seperate PR Typo fix This page has been subsumed by the index Bump the copyright year Document compiling OpenSSL to avoid conflicts Conflicts: cryptography/hazmat/backends/openssl/backend.py
| * | | | | | | | remove stray break, add FD_CLOEXEC, reset fd var even if close failsPaul Kehrer2014-01-011-1/+4
| | | | | | | | |
| * | | | | | | | rename urandom engine to osrandom enginePaul Kehrer2013-12-312-35/+35
| | | | | | | | |
| * | | | | | | | remove inaccurate commentPaul Kehrer2013-12-311-2/+0
| | | | | | | | |
| * | | | | | | | check if the fd is available via engine statusPaul Kehrer2013-12-311-2/+10
| | | | | | | | |
| * | | | | | | | improve init/finish engine funcs, do a better job inc/dec struct/func refsPaul Kehrer2013-12-312-5/+19
| | | | | | | | |
| * | | | | | | | Add dummy engine to tests and test other engine scenariosPaul Kehrer2013-12-311-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify register_urandom_engine to fix a leak
| * | | | | | | | additional check to verify the ENGINE_new doesn't return nullPaul Kehrer2013-12-301-0/+3
| | | | | | | | |
| * | | | | | | | remove unneeded INT_MAX checkPaul Kehrer2013-12-301-1/+1
| | | | | | | | |
| * | | | | | | | fix fd int check, remove stray comedy printf()Paul Kehrer2013-12-301-3/+2
| | | | | | | | |
| * | | | | | | | add urandom engine register/unregister testsPaul Kehrer2013-12-302-20/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also rename some variables in the urandom engine for easier comparison
| * | | | | | | | allow the backend to register/unregister the engine via methodsPaul Kehrer2013-12-302-5/+34
| | | | | | | | |
| * | | | | | | | add urandom engine and set it as default RAND method.Paul Kehrer2013-12-302-0/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a proposed solution to the OpenSSL fork problem.
* | | | | | | | | Write comments as complete sentencesAlex Gaynor2014-02-051-6/+8
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Made OpenSSL's derive_pbkdf2_hmac raise the right exceptionAlex Gaynor2014-02-041-2/+5
| | | | | | | |
* | | | | | | | pep8Alex Gaynor2014-02-031-0/+1
| | | | | | | |
* | | | | | | | Make the default backend be a multi-backendAlex Gaynor2014-02-031-1/+4
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Added an example usageAlex Gaynor2014-02-031-5/+1
| | | | | | |
* | | | | | | Merge branch 'master' into prioritized-multi-backendAlex Gaynor2014-02-034-6/+149
|\ \ \ \ \ \ \
| * | | | | | | Fix typoDavid Reid2014-02-031-1/+1
| | | | | | | |
| * | | | | | | Import exception classes instead of the exceptions module.David Reid2014-02-031-7/+4
| | | | | | | |
| * | | | | | | Don't expose extract and expand on this class yet because we don't know how ↵David Reid2014-02-031-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | best to expose verify functionality, continue testing the stages using the private methods.
| * | | | | | | Remove redundant type checks per @alex and @reaperhulk.David Reid2014-02-031-12/+0
| | | | | | | |
| * | | | | | | Consistently use double quotes.David Reid2014-02-031-1/+1
| | | | | | | |
| * | | | | | | Aggressively type-check for text.David Reid2014-02-031-0/+26
| | | | | | | |
| * | | | | | | Actually register the interface.David Reid2014-02-031-1/+5
| | | | | | | |
| * | | | | | | Expand, extract, verify.David Reid2014-02-031-4/+19
| | | | | | | |
| * | | | | | | Add test cases for length checking and already finalized.David Reid2014-02-031-3/+25
| | | | | | | |
| * | | | | | | Closer to proposed interface in #513.David Reid2014-02-031-27/+29
| | | | | | | |
| * | | | | | | Break up hkdf_derive into hkdf_extract and hkdf_expand.David Reid2014-02-031-23/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Testing each individually against all the vectors and actually asserting about the intermediate state. hkdf_derive is now just a helper function which copes with the default arguments.
| * | | | | | | Refactor HKDF support and provide vectors for tests.David Reid2014-02-031-8/+17
| | | | | | | |
| * | | | | | | hkdfDavid Reid2014-02-031-0/+43
| | | | | | | |
| * | | | | | | Refer to the `d` param of RSA as `private_exponent`.Alex Gaynor2014-02-031-1/+8
| | | | | | | |
| * | | | | | | Merge pull request #547 from public/bn-mathsAlex Gaynor2014-02-021-0/+29
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | OpenSSL BN math
| | * | | | | | | OpenSSL BN mathAlex Stapleton2014-02-021-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed to fully populate e.g. backend RSA contexts from an RSAPrivateKey.
| * | | | | | | | Merge pull request #548 from public/rename-key-lengthAlex Gaynor2014-02-021-2/+2
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Rename RSAs key_length to key_size
| | * | | | | | | | Rename RSAs key_length to key_sizeAlex Stapleton2014-02-021-2/+2
| | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | So that it matches the existing documented CipherContext stuff.
| * / / / / / / / More detailed error message for InternalErrorAlex Stapleton2014-02-021-1/+9
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uses ERR_error_string_n because the source contains horrible warnings against ever using ERR_error_string.