aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add RSA OAEP SHA2 vectors via custom vector creation (#2829)Paul Kehrer2016-06-0228-0/+13656
| | | | | | | | | | | | | | | | | | | | | | | | * add RSA OAEP SHA2 vectors via custom vector creation * update the docs * retab * remove sha2 oaep support (it will be added again in another PR) * add header to each vector file * Add Java 8 Bouncy Castle based verification of RSA-OAEP SHA-2 test vectors (#4) * Update Java verifier to skip past test vector file header if present (#5) * Update Java verifier to skip past test vector file header if present * Fix tabs vs. space whitespace * generate sha1 oaep permutations as well + verify support in java * address review feedback
* Added an additional binding that we need (#2942)Alex Gaynor2016-06-021-0/+1
|
* Bind another function because reasons (#2940)Alex Gaynor2016-06-011-0/+7
| | | | | | | | * Bind another function because reasons * ptr * move to the correct section
* backport a function from 1.1.0 for x.509 (#2939)Alex Gaynor2016-06-011-0/+7
|
* treat rsa struct as opaque (#2937)Paul Kehrer2016-06-011-12/+52
|
* Don't use the internal struct (#2934)Alex Gaynor2016-05-311-2/+2
|
* treat DSA as opaque (#2936)Paul Kehrer2016-05-311-25/+109
|
* treat rsa struct as opaque (#2935)Paul Kehrer2016-05-311-11/+17
|
* these constants no longer exist in 1.1.0 and we weren't using them (#2930)Paul Kehrer2016-05-301-43/+0
|
* Use teardown since we ignore the method arg anyways (#2928)Alex Gaynor2016-05-301-2/+1
|
* KBKDF cleanup (#2929)Paul Kehrer2016-05-293-6/+9
| | | | | | | | * 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-295-0/+524
| | | | | | | | | | | | | | | | | | * 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.
* Replacing test_osrandom_engine_is_default. (#2905)Andreas Moser2016-05-291-0/+12
| | | | | | | | | | | | | | | | | | | * Removing test_osrandom_engine_is_default. test_osrandom_engine_is_default depends on having a valid sys.executable. This attribute is not always set (see https://docs.python.org/2/library/sys.html#sys.executable ) so, in some environments, this test fails. I moved the functionality of the test into the setup and teardown methods so the correct behavior is still tested. * Fixing some style issues. * Removing an unnecessary newline. * Putting back the test. * Moving the assert from teardown to setup.
* add the scripts we use to build the wheels in jenkins to version control (#2896)Paul Kehrer2016-05-292-0/+103
| | | | | | | | | | | * add the scripts we use to build the wheels in jenkins to version control These scripts will get some updates shortly to simplify life on the OS X side, but for now it's just a copy of exactly what the job currently does. Once this is merged I can switch the job to just invoke these scripts. * rename script and update to what we're currently using to make whls
* Migrate to codecov.yml (#2927)Alex Gaynor2016-05-291-0/+9
| | | | | | * Migrate to codecov.yml * correct syntax, 4 space indents
* Fixed #2859 -- document that SHA-1 is the worst (#2925)Alex Gaynor2016-05-291-1/+3
| | | | | | * Fixed #2859 -- document that SHA-1 is the worst * words words words
* Random cleanup that shellcheck indicated (#2926)Alex Gaynor2016-05-291-4/+4
|
* Fixed #2871 -- position docs next to the fucntion they are for (#2924)Alex Gaynor2016-05-291-26/+26
|
* pip is prejudiced against dashes and underscores (#2922)Paul Kehrer2016-05-293-6/+6
|
* add functions to handle opaque RSA (#2886)Paul Kehrer2016-05-281-0/+119
| | | | | | | | | | * add functions to handle opaque RSA A subsequent PR will utilize these new functions. * update to latest C code from github * these can live in functions
* 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
* port 1.3.2 changelog to master (#2895)Paul Kehrer2016-05-041-0/+7
|
* add DSA getters/setters for opaquing the struct (#2889)Paul Kehrer2016-04-301-0/+73
| | | | | | * add DSA getters/setters for opaquing the struct * these can live in functions
* opaque the DH struct (#2884)Paul Kehrer2016-04-301-14/+1
|
* opaque BIO_METHOD and BIO. Move some functions that added const (#2881)Paul Kehrer2016-04-301-40/+12
|
* CRYPTO_cleanup_all_ex_data is a macro and CRYPTO_add no longer exists (#2882)Paul Kehrer2016-04-301-4/+3
| | | We don't use CRYPTO_add and neither does pyOpenSSL
* a few more func->macro transitions for 1.1.0 compatibility (#2885)Paul Kehrer2016-04-304-4/+9
|
* Fixed #2887 -- implement __hash__ on EC numbers classes (#2888)Alex Gaynor2016-04-302-0/+30
|
* Update URLs for new RTD domain (#2879)Alex Gaynor2016-04-285-6/+6
|
* Update getting-started.rst to clarify OS X Homebrew pip install (#2876)Chris Collis2016-04-231-3/+31
| | | | | | | | | | | | | | | | * Update getting-started.rst to clarify OS X Homebrew pip install On OS X El Capitan following the current instructions fails with fatal error: 'openssl/opensslv.h' file not found on pip install -r dev-requirements.txt; this change adds to the instructions to clarify that CFLAGS and LDFLAGS may need to be set. I based this on the instructions in the Installation page. * Address reaperhulk comments, OpenSSL must be installed. Clarify that OpenSSL must be installed via Homebrew or MacPorts and how to build statically. * Make Homebrew, MacPorts, OpenSSL links * Fix doc errors and improve overall flow Insert tip about tox needing the same flags Make console example multi-line so that pip install is visible Change heading levels to allow OS X sub-section
* Test with both old pypy and new pypy (#2875)Alex Gaynor2016-04-222-7/+11
| | | | | | | | | | | | * Test with both old pypy and new pypy * use an old as heck pypy * revert * dont try to coverage pypy2.6.1 * ALL THE PYPYS
* Make a paragraph slightly more clear (#2874)Alex Gaynor2016-04-211-1/+1
|
* Adding CAVP vector parsing for NIST SP 800-108 KDF vectors. (#2865)Jared2016-04-132-3/+133
|
* Use HTTPS for a link in our docs (#2869)Alex Gaynor2016-04-091-1/+1
|
* Add vectors for unkeyed blake2s and blake2b. (#2867)Terry Chia2016-04-093-0/+56
| | | | | | | | | | * Add vectors for unkeyed blake2s and blake2b. * Add short note describing source of vectors. * Add link to OpenSSL repository. * Amend docs.
* Add more bindings to OpenSSL, to be used by the Python _ssl module. (#2868)Amaury Forgeot d'Arc2016-04-086-0/+74
| | | | | | | | | | | | | | * 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
* Remove executable flag on nist-800-108-KBKDF-CTR.txt.Tristan Seligmann2016-04-061-0/+0
|
* Handle two more error conditions correctlyAlex Gaynor2016-04-022-0/+17
| | | | | | * Handle two more error conditions correctly * fixed test case
* Merge pull request #2861 from reaperhulk/fix-libresslAlex Gaynor2016-03-291-1/+8
|\ | | | | fix libressl breakage reported in #2858
| * simplify the macro def checkPaul Kehrer2016-03-281-1/+1
| |
| * fix libressl breakage reported in #2858Paul Kehrer2016-03-281-1/+8
|/
* Merge pull request #2857 from alex/optimize-key-identifier-for-key-rsaPaul Kehrer2016-03-281-17/+28
|\ | | | | Fixes #2856 -- add a fast path to _key_identifier_from_public_key for RSA keys
| * Added a special case for EC as wellAlex Gaynor2016-03-271-0/+3
| |
| * Fixes #2856 -- add a fast path to _key_identifier_from_public_key for RSA keysAlex Gaynor2016-03-271-17/+25
|/
* Merge pull request #2855 from RazerM/masterPaul Kehrer2016-03-261-3/+1
|\ | | | | Remove redundant excludes from find_packages
| * Remove redundant excludes from find_packagesFrazer McLean2016-03-261-3/+1
|/ | | | | | Resolves #2854. tests don't need excluded because they're not within the "src" directory.
* Merge pull request #2852 from reaperhulk/oaep-bindingsAlex Gaynor2016-03-252-0/+12
|\ | | | | add EVP_PKEY_CTX_set_rsa_oaep_md
| * add EVP_PKEY_CTX_set_rsa_oaep_mdPaul Kehrer2016-03-252-0/+12
|/
* Merge pull request #2849 from reaperhulk/port-131-changelogAlex Gaynor2016-03-211-0/+6
|\ | | | | port 1.3.1 changelog to master
| * port 1.3.1 changelog to masterPaul Kehrer2016-03-211-0/+6
|/