aboutsummaryrefslogtreecommitdiffstats
path: root/cryptography
Commit message (Collapse)AuthorAgeFilesLines
...
* try/finally the bn_ctx managerPaul Kehrer2014-09-241-3/+5
|
* switch to a BN_CTX context manager.Paul Kehrer2014-09-241-9/+11
|
* extraneous newline murderedPaul Kehrer2014-09-241-1/+0
|
* put BN_CTX_end in a finally to ensure it is invokedPaul Kehrer2014-09-241-14/+16
|
* start and end BN_CTX so BN_CTX can track func owner of temporary BNsPaul Kehrer2014-09-241-0/+4
|
* Merge pull request #1330 from reaperhulk/fix-commoncrypto-gcmAlex Gaynor2014-09-172-0/+20
|\ | | | | Fix two bugs with CommonCrypto GCM that can result in invalid output.
| * resolve GCM tag issue with AAD only on OpenSSL 1.0.1 in Ubuntu 12.04Paul Kehrer2014-09-121-0/+8
| |
| * moved GCM tests to be run against all backends, added radar bug numbersPaul Kehrer2014-09-111-0/+2
| |
| * Fix two bugs with CommonCrypto GCM that can result in invalid output.Paul Kehrer2014-09-111-0/+10
| | | | | | | | | | | | | | Bug #1: Call to AAD but no call to update. Get null tag bytes. Bug #2: Call to update without call to AAD. Get null ciphertext bytes. Fixes #1329
* | Further formatting changesmichael-hart2014-09-121-1/+1
| | | | | | Essentially a continuation of the previous commit, this commit tabs a line which should have been tabbed before.
* | Corrected formattingunknown2014-09-121-1/+2
| | | | | | | | | | Line was too long in ./cryptography/hazmat/backends/openssl/backend.py, so moved the second part of the statement onto a new line using \
* | Adjusted formatting and added EC checkunknown2014-09-121-1/+1
| | | | | | | | | | | | | | | | Due to the code failing the PEP-8 test, the test code has been reformatted so that there are two blank lines between the function and the next class, and the overlong line has been adjusted. Also added a check to the private key loading function to check for the Cryptography_HAS_EC field. This has been tested on Windows only.
* | Implemented support for loading EC private keysunknown2014-09-111-0/+5
|/ | | | | | Loads Elliptic Curve private keys from .PEM files, whether encrypted or unencrypted, given that the encryption method is supported. Also included changes to the test files and documentation for said method.
* multibacken for docsAlex Gaynor2014-09-081-2/+13
|
* remove duplicate argumentAlex Gaynor2014-09-081-2/+2
|
* Explicitly deprecate these as wellAlex Gaynor2014-09-081-2/+18
|
* fixesAlex Gaynor2014-09-081-0/+1
|
* Start moving everything to the new APIAlex Gaynor2014-09-082-7/+29
|
* Merge branch 'master' into pem-loading-backendAlex Gaynor2014-09-089-75/+92
|\
| * Verify that padding is an instance of AsymmetircPadding before trying to use ↵Alex Gaynor2014-08-251-0/+3
| | | | | | | | it; fixes #1318
| * Merge pull request #1302 from alex/move-to-filesAlex Stapleton2014-08-243-23/+53
| |\ | | | | | | Refs #1301 -- moved constant time code into it's own .c and .h files
| | * Added back license headersAlex Gaynor2014-08-112-0/+27
| | |
| | * Revert "Added include guards, and license headers"Alex Gaynor2014-08-112-36/+0
| | | | | | | | | | | | This reverts commit a4902b67fb4ef1e7fd477d27353242da879ca90c.
| | * Added include guards, and license headersAlex Gaynor2014-08-112-0/+36
| | |
| | * Refs #1301 -- moved constant time code into it's own .c and .h filesAlex Gaynor2014-08-113-23/+26
| | |
| * | link corefoundation in the CC binding.Paul Kehrer2014-08-211-1/+3
| | | | | | | | | | | | This fixes compilation under Yosemite.
| * | conditionally declare X509_V_FLAG_PARTIAL_CHAINPaul Kehrer2014-08-141-3/+12
| | | | | | | | | | | | | | | | | | Solaris has apparently backported this from 1.0.2 so our version detection causes a compile error. This should fix it, but hopefully we'll be able to add a Solaris builder to jenkins soon-ish.
| * | Added d2i_PKCS7_bio to bindingsAlex Gaynor2014-08-131-0/+1
| |/
| * fix warnings caused by signature changes from beta1 to beta2Paul Kehrer2014-08-091-4/+4
| |
| * X509_VERIFY_PARAM_set_hostflags is available in 1.0.2-beta2Paul Kehrer2014-08-091-13/+3
| | | | | | | | fixes #1295
| * Removed need for Binding entry_pointTerry Chia2014-07-283-30/+5
| |
| * Added entry_points.Terry Chia2014-07-271-13/+16
| |
| * shorten comment line length for PEP-8Adam Goodman2014-07-231-3/+4
| |
| * Merge branch 'master' into reorder_libsAdam Goodman2014-07-237-61/+97
| |\
| * | reorder libssl/libcrypto on linker command lineAdam Goodman2014-07-091-1/+4
| | |
* | | Merge branch 'master' into pem-loading-backendAlexander Gaynor2014-07-192-0/+13
|\ \ \ | | |/ | |/|
| * | Merge pull request #1275 from crc32a/masterAlex Gaynor2014-07-181-0/+1
| |\ \ | | | | | | | | Adding binding for NID_issuer_alt_name cause we may need it in pyopenssl
| | * | Adding binding for NID_issuer_alt_name cause we may need it in pyopensslCarlos D. Garza2014-07-181-0/+1
| | | |
| * | | add missing DSABackend numbers loading methods to MultibackendPaul Kehrer2014-07-181-0/+12
| |/ /
* / / Added PEMSerializationBackend interfaceAlex Gaynor2014-07-181-0/+10
|/ /
* | Reorganize the backend interface definitionsAlex Gaynor2014-07-161-35/+35
| |
* | Removing the param name from the binding for X509V3_EXT_d2i in accordence ↵Carlos D. Garza2014-07-151-1/+1
| | | | | | | | with the contribution guidlines.
* | Adding binding for void *X509V3_EXT_d2i(X509_EXTENSION *ext);Carlos D. Garza2014-07-151-0/+1
| |
* | Raise ValueError if the password doesn't fitAlex Stapleton2014-07-111-21/+20
| | | | | | | | Fixes #1235. OpenSSL only allows password up to 1024 bytes.
* | Merge pull request #1249 from alex/factor-key-loadingDavid Reid2014-07-101-2/+10
|\ \ | | | | | | Factor out the key loading logic to make it easier to have other key loading schemes
| * | Factor out the key loading logic to make it easier to have other key loading ↵Alex Gaynor2014-07-101-2/+10
| | | | | | | | | | | | schemes
* | | Merge pull request #1246 from Ayrx/add-bindingAlex Gaynor2014-07-101-0/+1
|\ \ \ | |/ / |/| | Add GENERAL_NAMES_free binding
| * | Add GENERAL_NAMES_free bindingTerry Chia2014-07-101-0/+1
| | |
* | | Add a sensible repr to RSAPublicNumbersTerry Chia2014-07-101-0/+3
|/ /
* | Merge pull request #1237 from reaperhulk/fix-1229Alex Gaynor2014-07-101-2/+0
|\ \ | | | | | | fix compilation of commoncrypto backend under 10.8