aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
Commit message (Collapse)AuthorAgeFilesLines
* Move the cryptography package into a src/ subdirectoryDonald Stufft2014-11-1396-12481/+0
| | | | | | | | | | | | | Due to differences in how py.test determines which module to ``import`` the test suite actually runs against the cryptography which is in the *current* directory instead of the cryptography which is installed. The problem essentially boils down to when there is a tests/__init__.py then py.test adds the current directory to the front of the sys.path, causing it to take precedence over the installed location. This means that running the tests relies on the implicit compile that CFFI does instead of testing against what people will actually be runnning, which is the module compiled by setup.py.
* add binding for openssl `X509_REQ_digest`Ben Mather2014-11-121-0/+2
|
* Fix the import orderDonald Stufft2014-11-071-2/+1
|
* Lazily load the library on first use instead of on importDonald Stufft2014-11-073-4/+20
|
* Build FFI instance when class is created, load library when instantiatedDonald Stufft2014-11-075-63/+77
|
* appease the flake8 in the skyAlex Gaynor2014-11-071-0/+1
|
* We can test this, we have the power! Fixes #874Alex Gaynor2014-11-071-9/+12
|
* Update the license in setup.pyAlex Gaynor2014-10-311-1/+1
|
* flake8 fixAlex Gaynor2014-10-301-2/+2
|
* Remove duplicate code, now the verify method isn't specialAlex Gaynor2014-10-305-14/+12
|
* Merge branch 'master' into verify-interfacesAlex Gaynor2014-10-301-0/+2
|\
| * Removed argument names per reviewStanisław Pitucha2014-10-281-1/+1
| |
| * Add pkey comparison function to bindingsStanisław Pitucha2014-10-281-0/+2
| | | | | | | | | | Expose the EVP_PKEY_cmp function, so that pyOpenSSL can implement comparison methods on PKey.
| * Expose all attributes via properties so they can be statically introspectedAlex Gaynor2014-10-258-16/+39
| | | | | | | | Refs #1424
* | many verify, for nowAlex Gaynor2014-10-282-6/+14
| |
* | make things happyAlex Gaynor2014-10-253-11/+25
| |
* | Merge branch 'master' into verify-interfacesAlex Gaynor2014-10-255-38/+40
|\|
| * Also switch to the explicit verifier construction approach, so the diff for ↵Alex Gaynor2014-10-241-5/+9
| | | | | | | | disabling implicit compile is even shorter
| * Refactor our creation of CFFI FFI and libraries slightly.Alex Gaynor2014-10-245-37/+35
| | | | | | | | Centralize everything for ease of use.
| * Changed methods on interface providers to have argument names match the ↵Alex Gaynor2014-10-233-16/+16
| | | | | | | | | | | | interface. This is important because it means passing things as keyword arguments will work consistently
* | Merge branch 'master' into verify-interfacesAlex Gaynor2014-10-233-105/+32
|\| | | | | | | | | Conflicts: tests/hazmat/primitives/test_hmac.py
| * Merge pull request #1430 from alex/its-a-macPaul Kehrer2014-10-232-0/+2
| |\ | | | | | | Fixed #1429 -- mark these classes as implementing the MACContext interface
| | * Fixed #1429 -- mark these classes as implementing the MACContext interfaceAlex Gaynor2014-10-222-0/+2
| | |
| * | Simplify the implementation of the EC curve keysAlex Gaynor2014-10-221-105/+30
| |/
* | Statically verify interface implementations, and fix all the resulting bugsAlex Gaynor2014-10-2212-41/+70
| |
* | Merge branch 'master' into verify-interfacesAlex Gaynor2014-10-2211-104/+62
|\| | | | | | | | | Conflicts: cryptography/utils.py
| * Merge pull request #1426 from alex/read-only-propertyPaul Kehrer2014-10-229-104/+35
| |\ | | | | | | Added a utility for implementing a read only property of another field
| | * oops, fix recursionAlex Gaynor2014-10-211-2/+2
| | |
| | * Added a utility for implementing a read only property of another fieldAlex Gaynor2014-10-219-104/+35
| | |
| * | Merge pull request #1425 from reaperhulk/fix-missing-methodAlex Gaynor2014-10-221-0/+6
| |\ \ | | |/ | |/| add load_dsa_parameter_numbers on multibackend
| | * add load_dsa_parameter_numbers on multibackendPaul Kehrer2014-10-211-0/+6
| | |
| * | Merge branch 'master' into multi-fernetAlex Gaynor2014-10-205-24/+36
| |\|
| * | Handle non-iterable arguments reasonableAlex Gaynor2014-10-201-0/+1
| | |
| * | improved the error messageAlex Gaynor2014-10-201-1/+3
| | |
| * | Fixes #1327 -- adds multifernetAlex Gaynor2014-10-201-0/+18
| | |
* | | Fix for abstractproperty, and make things nicerAlex Gaynor2014-10-211-5/+10
| | |
* | | py3k fixAlex Gaynor2014-10-211-1/+1
| | |
* | | Fixes #1024 -- a utility function for checking an implementor against an ABCAlex Gaynor2014-10-211-0/+21
| |/ |/|
* | Add to changelog. Document deprecation.Terry Chia2014-10-203-2/+1
| |
* | Remove algorithm property from MACContext and alias CMACContext.Terry Chia2014-10-201-27/+2
| |
* | Add docs.Terry Chia2014-10-201-1/+1
| |
* | Ooops.Terry Chia2014-10-201-1/+1
| |
* | Add MACContext and make HMAC and CMAC to use it.Terry Chia2014-10-205-3/+41
|/
* eep, stray spaceAlex Gaynor2014-10-191-1/+1
|
* Fixed an issue in fernet where the wrong exception would occur on an ↵Alex Gaynor2014-10-191-1/+1
| | | | | | all-nulls input. Also switched a few tests to not generate a key
* Merge pull request #1418 from alex/fix-ec-complainsPaul Kehrer2014-10-191-0/+5
|\ | | | | Fixes #1416 -- replaced assertions with error checking in EC key from numbers.
| * Do these checks in pure python eagerly.Alex Gaynor2014-10-191-5/+7
| | | | | | | | We get errors in different places, depending on py2k vs. py3k if we don't.
| * Fixes #1416 -- replaced assertions with error checking in EC key from numbers.Alex Gaynor2014-10-191-2/+5
| | | | | | | | Includes tests.
* | Merge pull request #1417 from reaperhulk/fix-interfaceAlex Gaynor2014-10-191-0/+12
|\ \ | |/ |/| add missing signer/verifier to DSAPublicKey and DSAPrivateKey ifaces
| * add missing signer/verifier to DSAPublicKey and DSAPrivateKey ifacesPaul Kehrer2014-10-191-0/+12
| | | | | | | | | | These were present in the docs and the OpenSSL provider, but not properly listed on the interface