aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography/hazmat/bindings
Commit message (Collapse)AuthorAgeFilesLines
...
| * get urandom fd flag and bitwise OR it with FD_CLOEXEC. comment updatePaul Kehrer2014-02-051-2/+6
| |
| * rename osrand_engine to osrandom_enginePaul Kehrer2014-02-042-1/+1
| |
| * 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-031-0/+29
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | 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-2910-5/+190
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2013-18/+382
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-117-75/+314
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * \ \ \ \ Merge branch 'master' into urandom-enginePaul Kehrer2014-01-0127-0/+2469
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | | | | Write comments as complete sentencesAlex Gaynor2014-02-051-6/+8
| |_|_|_|_|/ |/| | | | |
* | | | | | OpenSSL BN mathAlex Stapleton2014-02-021-0/+29
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | Needed to fully populate e.g. backend RSA contexts from an RSAPrivateKey.
* | | | | Expose this method because probably someone will need it eventuallyAlex Gaynor2014-01-291-0/+1
| | | | |
* | | | | Add bindings for X509_REQ_get_extensions.Stephen Holsapple2014-01-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Without this binding it is impossible to get any extension objects from an X509Req object.
* | | | | Fuck, fixAlex Gaynor2014-01-281-1/+1
| | | | |
* | | | | C is not a good programming languageAlex Gaynor2014-01-281-4/+3
| | | | |
* | | | | This needs to be firstAlex Gaynor2014-01-281-1/+2
| | | | |
* | | | | Doh, reorderAlex Gaynor2014-01-281-1/+1
| | | | |
* | | | | This type is not defined either of courseAlex Gaynor2014-01-281-0/+1
| | | | |
* | | | | Whoops, backwardsAlex Gaynor2014-01-281-1/+1
| | | | |
* | | | | Fixed #521 -- work on systems with no ec header at allAlex Gaynor2014-01-281-0/+3
| | | | |
* | | | | Python implementation of OpenSSL locking callbackAlex Stapleton2014-01-242-1/+51
| | | | |
* | | | | remove advapi32 until we need it (for cryptgenrandom)Paul Kehrer2014-01-231-1/+1
| | | | |
* | | | | add library switch for windows supportPaul Kehrer2014-01-231-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Temporarily using pragma: no cover on it until we have windows coverage on travis. Windows builds will be done via jenkins for now.
* | | | | Merge pull request #497 from reaperhulk/pbkdf2-commoncrypto-bindingsAlex Gaynor2014-01-232-0/+49
|\ \ \ \ \ | | | | | | | | | | | | Add CommonCrypto PBKDF2 bindings
| * | | | | add commoncrypto PBKDF2 bindingsPaul Kehrer2014-01-222-0/+49
| | | | | |
* | | | | | add PBKDF2 from OpenSSL (for future KDF to live alongside HKDF)Paul Kehrer2014-01-221-0/+17
|/ / / / /
* | | | | add kCCModeGCMPaul Kehrer2014-01-221-0/+5
| | | | |
* | | | | GCM bindings for CommonCryptoPaul Kehrer2014-01-221-0/+9
| | | | |
* | | | | support for aes keywrap (RFC 3394) in the bindingsPaul Kehrer2014-01-222-0/+41
| |_|_|/ |/| | |
* | | | On OS X at build time compile the CC bindingsAlex Gaynor2014-01-192-9/+18
| | | |
* | | | remove an extraneous linefeedPaul Kehrer2014-01-191-1/+0
| | | |
* | | | reformat bindings and remove GCM for the momentPaul Kehrer2014-01-191-65/+29
| | | |
* | | | add cipher bindings for CommonCryptoPaul Kehrer2014-01-192-0/+132
| | | |
* | | | Expose the innards of DH and DSAAlex Stapleton2014-01-193-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | So we can manually construct or serialise keys at some point. Also BN2BIN stuff because JWK uses the base64 version of this representation.
* | | | Merge pull request #481 from public/asym-bindingsPaul Kehrer2014-01-182-7/+168
|\ \ \ \ | | | | | | | | | | More bindings for asymmetric stuff
| * | | | More bindings for asymmetric stuffAlex Stapleton2014-01-182-7/+168
| | | | |
* | | | | Tell cffi these opaque types are pointers.Alex Stapleton2014-01-181-5/+5
|/ / / / | | | | | | | | | | | | Fixes #469
* | | | Merge pull request #473 from reaperhulk/remove-thread-stateDavid Reid2014-01-172-1/+20
|\ \ \ \ | | | | | | | | | | Add ERR_remove_thread_state
| * | | | rename variable to be less confusing and terriblePaul Kehrer2014-01-171-4/+4
| | | | |
| * | | | add conditional ERR_remove_thread_state. PyOpenSSL uses thisPaul Kehrer2014-01-162-1/+20
| | | | |
* | | | | Expose a name needed for ECDHE -- the NIDs are always availableAlex Gaynor2014-01-171-16/+3
| | | | |
* | | | | Expose the nids for the various eliptical curve things. I don't understand ↵Alex Gaynor2014-01-161-1/+27
| | | | | | | | | | | | | | | | | | | | what these mean.
* | | | | Added forgotten declAlex Gaynor2014-01-161-0/+2
| | | | |
* | | | | reversedAlex Gaynor2014-01-161-1/+1
| | | | |
* | | | | Allow these to not be defined because lololol fedora/centosAlex Gaynor2014-01-162-1/+19
| | | | |
* | | | | oopsAlex Gaynor2014-01-161-1/+1
| | | | |
* | | | | Start binding some stuff for ECDHE in pyOpenSSL.Alex Gaynor2014-01-163-0/+34
|/ / / /