aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat
Commit message (Collapse)AuthorAgeFilesLines
...
* first pass removing 0.9.8 things from the ssl bindings (#2986)Paul Kehrer2016-06-201-26/+0
|
* Remove a few 0.9.8isms from the ssl bindings (#2998)Alex Gaynor2016-06-191-11/+0
|
* Remove some 0.9.8 code in x509 extension land (#2999)Alex Gaynor2016-06-191-44/+12
|
* Simplify and remove some 0.9.8 code from the EVP bindings (#2996)Alex Gaynor2016-06-191-6/+4
| | | | | | | | * Simplify and remove some 0.9.8 code from the EVP bindings The Cryptography_ symbol remains because pyOpenSSL uses. There's still other 0.9.8isms in this file. * only eclare this once
* Remove 0.9.8isms from CMS code. (#2997)Alex Gaynor2016-06-191-5/+0
| | | CMS is 'cryptographic message syntax', and not 'centers for medicaid and medicare', fyi
* Removed 0.9.8 specific hmac code (#2995)Alex Gaynor2016-06-191-10/+4
|
* Remove 0.9.8 isms from the DSA and x509 verify bindings (#2993)Alex Gaynor2016-06-191-20/+0
| | | | | | | | * Remove 0.9.8 isms from the DSA and x509 verify bindings * fixed syntax and remove more gunk * remove some obscure flags
* Remove a few more 0.9.8 bindings (#2994)Alex Gaynor2016-06-181-3/+0
|
* Simplify control flow now that the 0.9.8 branches are gone (#2989)Alex Gaynor2016-06-181-10/+0
|
* 0.9.8 error code conditionals no longer required (#2987)Paul Kehrer2016-06-181-19/+0
| | | | | | * 0.9.8 error code conditionals no longer required * move the error codes to be with their brethren
* remove 0.9.8 support from nid bindings (#2988)Paul Kehrer2016-06-181-6/+0
|
* remove unneeded AES conditionals now that we no longer support 0.9.8 (#2985)Paul Kehrer2016-06-181-4/+0
| | | | | | | | * remove unneeded AES conditionals now that we no longer support 0.9.8 * This comment was inaccurate. EVP AES CTR is available in 1.0.1+, not 1.0.0. * update function definition to match 1.0.0 and move to functions
* Remove a binding and comments that reference 0.9.8 (#2984)Alex Gaynor2016-06-182-7/+4
|
* Removed some code that existed for OpenSSL 0.9.8 (#2983)Alex Gaynor2016-06-181-11/+3
| | | Refs #2982
* Drop OpenSSL 0.9.8 (#2978)Alex Gaynor2016-06-184-297/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Drop OpenSSL 0.9.8 * Drop this test, it's not relevant any longer * unused import * Remove CRYPTOGRAPHY_ALLOW_OPENSSL_098=1 from our tox * removed unused code for Cryptography_HAS_PKEY_CTX * return unused code for _AESCTRCipherContext * syntax :-( * remove some unused tests and skips * remove unused code for Cryptography_HAS_PBKDF2_HMAC * Revert "return unused code for _AESCTRCipherContext" This reverts commit 7d149729205aa4c9735eb322414b167a75b302df. * Remove unused RSA code * Remove unused test code for conditional bindings * Remove unused dsa code * unused import * Remove unused x509 extension code * Remove unused EC code * Attempt to remove unused DER key loading code * document this * grammar * Added back this paragraph * Update docs
* Small cleanup (#2979)Alex Gaynor2016-06-151-6/+1
|
* Add convenience methods to sign and verify w/ RSA (#2945)Colleen Murphy2016-06-042-0/+23
| | | | | | | | | This patch adds wrapper methods to allow the user to sign and verify a single message block without having to go through the multi-step process of creating a signer or verifier, updating it with the one message, and finalizing the result. This will make signing and verifying data more user-friendly when only using small messages. Partial bug #1529
* RSA OAEP SHA2 Support (#2956)Paul Kehrer2016-06-042-16/+48
| | | | | | | | | | | | | | | | | | | | * some rsa oaep sha2 support * various improvements * fix a thing * simplify * update the test * styyyyyle * more styyyyle * fix libre, remove a skip that should never be hit * OAEP version check fixes
* added a repr to the dsa numbers classes (#2961)Alex Gaynor2016-06-031-0/+13
| | | | | | | | * added a repr to the dsa numbers classes * fix * another test
* A few more 1.1.0 compatibility changes (#2960)Paul Kehrer2016-06-031-3/+0
| | | | | | * remove some bindings we don't use * thread state is not required
* SSH serialization for public keys (#2957)Alex Gaynor2016-06-035-14/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * SSH serialization for public keys * name errors ahoy! * id, ego, superego * dsa support * EC support * Don't keyerror * Documentation OpenSSH * flake8 * fix * bytes bytes bytes * skip curve unsupported * bytes! * Move a function * reorganize code for coverage
* small cleanups to the cert.serial warning (#2958)Alex Gaynor2016-06-031-1/+2
|
* Random grammar stuff (#2955)Alex Gaynor2016-06-021-1/+1
|
* Add alias for Certificate serial as serial number (#2950)Chelsea Winfree2016-06-021-0/+9
| | | | | | | | * Add alias for Certificate serial as serial number * Adding deprecation to utils * Now with catch warnings and proper vers
* Fixing typo in asymmetric utils (#2947)Chelsea Winfree2016-06-021-4/+2
| | | | | | * Fixing typo in asymmetric utils * Fixed the other similar typo on utils
* treat rsa struct as opaque (#2937)Paul Kehrer2016-06-011-12/+52
|
* treat DSA as opaque (#2936)Paul Kehrer2016-05-311-25/+109
|
* treat rsa struct as opaque (#2935)Paul Kehrer2016-05-311-11/+17
|
* KBKDF cleanup (#2929)Paul Kehrer2016-05-291-1/+1
| | | | | | | | * unicode characters make everything angry * changelog entry and make skip msgs more informative * typo fix
* NIST SP 800-108 Counter Mode KDF (#2748)Jared2016-05-291-0/+148
| | | | | | | | | | | | | | | | | | * NIST SP 800-108 Counter Mode and Feedback Mode KDF * CounterKDF unit tests * Refactor to support multiple key based KDF modes. * Extracting supported algorithms for KBKDF Counter Mode test vectors * Adding support for different rlen and counter location in KBKDF * support for multiple L lengths and 24 bit counter length. * Adding KBKDF Documentation. * Refactoring KBKDF to KBKDFHMAC to describe hash algorithm used.
* treat the DSA struct as opaque (#2883)Paul Kehrer2016-05-281-19/+45
| | | | | | * initial DSA backend changes for opaque struct * don't use DSAparams_dup because centos5 0.9.8e is a mystery
* Fixed #2887 -- implement __hash__ on EC numbers classes (#2888)Alex Gaynor2016-04-301-0/+6
|
* Add more bindings to OpenSSL, to be used by the Python _ssl module. (#2868)Amaury Forgeot d'Arc2016-04-081-0/+9
| | | | | | | | | | | | | | * Add more bindings to OpenSSL, all are used by the Python _ssl module. * Add a conditional: SSL_CTX_clear_options() does not exist before 0.9.8m * 80 cols * Condionally define the TLSEXT error codes. * Address review comments * Remove all parameter names
* Handle two more error conditions correctlyAlex Gaynor2016-04-021-0/+6
| | | | | | * Handle two more error conditions correctly * fixed test case
* add EVP_PKEY_CTX_set_rsa_oaep_mdPaul Kehrer2016-03-251-0/+3
|
* DeprecationWarningAlex Gaynor2016-03-191-2/+1
|
* Use runtimeerror for thisAlex Gaynor2016-03-191-2/+1
|
* Fixed #2836 -- error out on OpenSSL 0.9.8 by defaultAlex Gaynor2016-03-191-14/+26
|
* slowly re-add everything that was removed, but now conditionalPaul Kehrer2016-03-171-0/+1
|
* sigh... and this onePaul Kehrer2016-03-171-0/+1
|
* need this one tooPaul Kehrer2016-03-171-0/+1
|
* we need CRYPTO_LOCK & CRYPTO_UNLOCK on < 1.1.0 so conditionally bind themPaul Kehrer2016-03-171-0/+4
|
* Merge pull request #2736 from cedk/ANSI_X.923Paul Kehrer2016-03-161-47/+125
|\ | | | | Added support for padding ANSI X.923
| * Don't use subclassCédric Krier2016-03-141-88/+112
| |
| * Make _padding and _check_padding abstractmethodCédric Krier2016-02-271-2/+10
| |
| * Add padding check for ANSI X.923Cédric Krier2016-02-271-1/+3
| | | | | | | | All padding bytes must be 0.
| * Factorize out common byte paddingCédric Krier2016-02-271-18/+33
| |
| * Added support for padding ANSI X.923Cédric Krier2016-02-271-4/+33
| |
* | move the code aroundAlex Gaynor2016-03-141-54/+54
| |
* | delete software (flake8)Alex Gaynor2016-03-142-8/+3
| |