aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add convenience methods to sign and verify w/ RSA (#2945)Colleen Murphy2016-06-044-3/+118
| | | | | | | | | 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-044-18/+237
| | | | | | | | | | | | | | | | | | | | * 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-032-0/+28
| | | | | | | | * added a repr to the dsa numbers classes * fix * another test
* A few more 1.1.0 compatibility changes (#2960)Paul Kehrer2016-06-033-19/+0
| | | | | | * remove some bindings we don't use * thread state is not required
* Refs #1478 -- attempt to improve our nonsense docs for ECCurve.key_size (#2959)Alex Gaynor2016-06-031-1/+2
| | | | | | * Refs #1478 -- attempt to improve our nonsense docs for ECCurve.key_size * fix
* SSH serialization for public keys (#2957)Alex Gaynor2016-06-0310-14/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-032-7/+2
|
* Random grammar stuff (#2955)Alex Gaynor2016-06-024-4/+4
|
* Add alias for Certificate serial as serial number (#2950)Chelsea Winfree2016-06-025-11/+53
| | | | | | | | * Add alias for Certificate serial as serial number * Adding deprecation to utils * Now with catch warnings and proper vers
* Forward port the changelog for 1.3.3 (#2949)Alex Gaynor2016-06-021-0/+13
| | | | | | * Forward port the changelog for 1.3.3 * 1.3.4 as well
* Fixing typo in asymmetric utils (#2947)Chelsea Winfree2016-06-021-4/+2
| | | | | | * Fixing typo in asymmetric utils * Fixed the other similar typo on utils
* 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