Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Oops. | Jean-Paul Calderone | 2013-10-04 | 1 | -1/+1 |
| | |||||
* | Try exposing TLSv1.1 and TLSv1.2. | Jean-Paul Calderone | 2013-10-03 | 4 | -14/+61 |
| | |||||
* | Fix a memory management issue that leads to crashes in ↵ | Jean-Paul Calderone | 2013-10-03 | 1 | -1/+1 |
| | | | | OpenSSL.crypto.X509.get_serial_number in some environments. | ||||
* | merge the nul byte fix, port some markup to restructured text | Jean-Paul Calderone | 2013-08-23 | 3 | -6/+142 |
|\ | |||||
| * | in fact, commonName is a native string | Jean-Paul Calderone | 2013-08-23 | 1 | -1/+1 |
| | | |||||
| * | some more formatting fixes | Jean-Paul Calderone | 2013-08-23 | 1 | -6/+3 |
| | | |||||
| * | Some formatting and indentation fixes; expand "san" to "subjectAltName". | Jean-Paul Calderone | 2013-08-23 | 1 | -37/+35 |
| | | |||||
| * | Split this big test up into the two important pieces and make a test for each | Jean-Paul Calderone | 2013-08-23 | 1 | -24/+26 |
| | | |||||
| * | again | Jean-Paul Calderone | 2013-08-23 | 1 | -2/+4 |
| | | |||||
| * | Ghetto rebase Heimes' changes onto the 0.13 release branch | Jean-Paul Calderone | 2013-08-12 | 3 | -1/+137 |
| | | |||||
* | | Release the GIL around RSA and DSA key generation. | Jean-Paul Calderone | 2012-04-03 | 1 | -5/+16 |
|\ \ | |||||
| * | | Use braces for all code blocks, even short ones. Also, simplify the thread ↵ | Jean-Paul Calderone | 2012-04-03 | 1 | -6/+7 |
| | | | | | | | | | | | | management around the DSA generation. | ||||
| * | | Fix compile error | INADA Naoki | 2011-08-26 | 1 | -2/+2 |
| | | | |||||
| * | | Fix didn't release while DSA key generation. | INADA Naoki | 2011-08-26 | 1 | -3/+7 |
| | | | |||||
| * | | Allow thread while generating key. | INADA Naoki | 2011-08-21 | 1 | -2/+8 |
| | | | |||||
* | | | explain the way things are | Jean-Paul Calderone | 2012-03-10 | 1 | -0/+78 |
| | | | |||||
* | | | Allocate Py_buffer on the heap (leaking memory sometimes) to make this code ↵ | Jean-Paul Calderone | 2012-03-10 | 1 | -12/+19 |
| | | | | | | | | | | | | PyPy-friendly (hopefully; test pending). | ||||
* | | | Be more lenient in the test | Jean-Paul Calderone | 2012-03-09 | 1 | -1/+1 |
| | | | |||||
* | | | Add a version check, since older versions of OpenSSL are missing ameth | Jean-Paul Calderone | 2012-03-09 | 1 | -4/+7 |
| | | | |||||
* | | | Re-instate the OPENSSL_NO_SSL2 check; it is necessary for the case where ↵ | Jean-Paul Calderone | 2012-03-09 | 1 | -0/+5 |
| | | | | | | | | | | | | SSLv2_method is not a defined symbol at all. | ||||
* | | | Fix an incorrect exception name in a test method docstring. | Jean-Paul Calderone | 2012-03-09 | 1 | -1/+1 |
| | | | |||||
* | | | Get rid of the OPENSSL_NO_SSL2 check, which is not a complete solution on ↵ | Jean-Paul Calderone | 2012-03-09 | 1 | -5/+5 |
| | | | | | | | | | | | | all platforms; replace it with a check (which should always have been there) of the SSL_CTX_new return value. If SSLv2 is unavailable, the context creation should fail and we will notice at that point. | ||||
* | | | Fix test_export_invalid with certain versions of OpenSSL. Previously ↵ | Jean-Paul Calderone | 2012-03-09 | 1 | -0/+10 |
| | | | | | | | | | | | | OpenSSL did the NULL check for us, now we do it. | ||||
* | | | Use the future-proof-er macro to get the type structure to call the ↵ | Jean-Paul Calderone | 2012-02-14 | 1 | -1/+1 |
| | | | | | | | | | | | | inherited free method. | ||||
* | | | Docstrings are nice | Jean-Paul Calderone | 2012-02-14 | 1 | -0/+4 |
| | | | |||||
* | | | I don't always read OpenSSL source, but when I do I WISH I WERE DEAD | Jean-Paul Calderone | 2012-02-14 | 2 | -1/+33 |
| | | | |||||
* | | | Wrap SSL_set_session, allowing pyOpenSSL clients to actually re-use sessions ↵ | Jean-Paul Calderone | 2012-02-14 | 2 | -5/+102 |
| | | | | | | | | | | | | now. | ||||
* | | | Add Connection.get_session and have the Session object actually wrap an ↵ | Jean-Paul Calderone | 2012-02-13 | 4 | -24/+116 |
| | | | | | | | | | | | | SSL_SESSION* (though there is actually not yet any way to tell that that is the case) | ||||
* | | | Minimal skeleton of a Python Session type | Jean-Paul Calderone | 2012-02-13 | 5 | -1/+200 |
| | | | |||||
* | | | minor doc tweak | Jean-Paul Calderone | 2012-02-08 | 1 | -1/+1 |
| | | | |||||
* | | | Formatting and other mostly-stylistic changes. | Jean-Paul Calderone | 2012-02-08 | 1 | -14/+15 |
| | | | |||||
* | | | Grab Context.{set,get}_session_cache_mode from the sessions branch, plus the ↵ | Jean-Paul Calderone | 2012-02-08 | 3 | -1/+151 |
| | | | | | | | | | | | | unit tests. | ||||
* | | | Add a unit test for checking a public key | Jean-Paul Calderone | 2011-10-31 | 2 | -1/+15 |
| | | | |||||
* | | | Fix segfault on PKey.check() when there is no private key | Anthony Uk | 2011-10-31 | 1 | -0/+5 |
| | | | |||||
* | | | Python 3.x compatibility | Jean-Paul Calderone | 2011-09-14 | 1 | -4/+4 |
| | | | |||||
* | | | Avoid being CPython specific - the leakcheck script will catch these issues. | Jean-Paul Calderone | 2011-09-14 | 1 | -31/+0 |
| | | | |||||
* | | | Add a test for a special argument handling check of dump_privatekey | Jean-Paul Calderone | 2011-09-14 | 1 | -0/+3 |
| | | | |||||
* | | | Add a test for returning the wrong type from a passphrase callback | Jean-Paul Calderone | 2011-09-14 | 1 | -0/+11 |
| | | | |||||
* | | | epytext to rst | Jean-Paul Calderone | 2011-09-14 | 1 | -7/+7 |
| | | | |||||
* | | | Unify code formatting in recently changed functions to what seems to be the ↵ | Ziga Seilnacht | 2009-12-22 | 1 | -21/+15 |
| | | | | | | | | | | | | currently preferred style. | ||||
* | | | Add a few more error checks around OpenSSL API calls. | Ziga Seilnacht | 2009-12-22 | 1 | -0/+12 |
| | | | | | | | | | | | | These errors can only occur in low memory conditions, so there is no reasonable way to test them. | ||||
* | | | Raise an error if a passphrase is used with a private key format that does ↵ | Ziga Seilnacht | 2009-12-22 | 2 | -30/+52 |
| | | | | | | | | | | | | | | | | | | not support encryption. Otherwise users might get an unpleasant surprise once they learn that their private key, which they thought was secure, is in fact readable by everyone. | ||||
* | | | Additional error checks and a refcount fix for global_passphrase_callback. | Ziga Seilnacht | 2009-12-22 | 2 | -3/+68 |
| | | | | | | | | | | | | | | | | | | There were two really big problems in this function: the first one was the silent truncation of passphrases, the second was the refcounting bug, which kept the passphrase in memory until the process exited. See tests for details. | ||||
* | | | Don't overwrite the error raised by the callback. | Ziga Seilnacht | 2009-12-22 | 2 | -25/+42 |
| | | | |||||
* | | | Whitespace cleanup. | Ziga Seilnacht | 2009-12-22 | 1 | -3/+3 |
| | | | |||||
* | | | Correctly handle errors from X509_CRL_sign | Jean-Paul Calderone | 2011-09-13 | 2 | -4/+19 |
| | | | |||||
* | | | Remove terminal mistake | Jean-Paul Calderone | 2011-09-11 | 1 | -1/+1 |
| | | | |||||
* | | | Change some lingering epytext | Jean-Paul Calderone | 2011-09-11 | 3 | -22/+22 |
| | | | |||||
* | | | Update set_mode API docs to use rst instead of epytext. | Jean-Paul Calderone | 2011-09-11 | 1 | -2/+2 |
| | | | |||||
* | | | merge trunk | Jean-Paul Calderone | 2011-09-11 | 4 | -1/+74 |
|\ \ \ |