summaryrefslogtreecommitdiff
path: root/OpenSSL/crypto
Commit message (Collapse)AuthorAgeFilesLines
* Fix a memory management issue that leads to crashes in ↵Jean-Paul Calderone2013-10-031-1/+1
| | | | OpenSSL.crypto.X509.get_serial_number in some environments.
* merge the nul byte fix, port some markup to restructured textJean-Paul Calderone2013-08-232-5/+79
|\
| * some more formatting fixesJean-Paul Calderone2013-08-231-6/+3
| |
| * Some formatting and indentation fixes; expand "san" to "subjectAltName".Jean-Paul Calderone2013-08-231-37/+35
| |
| * againJean-Paul Calderone2013-08-231-2/+4
| |
| * Ghetto rebase Heimes' changes onto the 0.13 release branchJean-Paul Calderone2013-08-122-1/+78
| |
* | Release the GIL around RSA and DSA key generation.Jean-Paul Calderone2012-04-031-5/+16
|\ \
| * | Use braces for all code blocks, even short ones. Also, simplify the thread ↵Jean-Paul Calderone2012-04-031-6/+7
| | | | | | | | | | | | management around the DSA generation.
| * | Fix compile errorINADA Naoki2011-08-261-2/+2
| | |
| * | Fix didn't release while DSA key generation.INADA Naoki2011-08-261-3/+7
| | |
| * | Allow thread while generating key.INADA Naoki2011-08-211-2/+8
| |/
* | Add a version check, since older versions of OpenSSL are missing amethJean-Paul Calderone2012-03-091-4/+7
| |
* | Fix test_export_invalid with certain versions of OpenSSL. Previously ↵Jean-Paul Calderone2012-03-091-0/+10
| | | | | | | | OpenSSL did the NULL check for us, now we do it.
* | Add a unit test for checking a public keyJean-Paul Calderone2011-10-311-1/+1
| |
* | Fix segfault on PKey.check() when there is no private keyAnthony Uk2011-10-311-0/+5
| |
* | Unify code formatting in recently changed functions to what seems to be the ↵Ziga Seilnacht2009-12-221-21/+15
| | | | | | | | currently preferred style.
* | Add a few more error checks around OpenSSL API calls.Ziga Seilnacht2009-12-221-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 Seilnacht2009-12-221-30/+29
| | | | | | | | | | | | 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 Seilnacht2009-12-221-2/+11
| | | | | | | | | | | | 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 Seilnacht2009-12-221-9/+17
| |
* | Whitespace cleanup.Ziga Seilnacht2009-12-221-3/+3
| |
* | Correctly handle errors from X509_CRL_signJean-Paul Calderone2011-09-131-4/+10
| |
* | Fix most of the doc compilation warning/errorsJonathan Ballet2011-07-161-5/+7
| | | | | | | | There's still a "<autodoc>:: (ERROR/3) Unknown target name: "ssleay"." error though :(
* | Fix markup to be compatible with Sphinx and add rough API docJonathan Ballet2011-07-167-27/+27
| |
* | Convert Epytext markup to RST markupJonathan Ballet2011-07-1612-192/+192
|/
* whitespaceJean-Paul Calderone2011-06-121-1/+1
|
* Doc changes, braces everywhereJean-Paul Calderone2011-06-121-10/+8
|
* Switch from returning False to raising an Error if the key doesn't check out ↵Jean-Paul Calderone2009-05-131-4/+8
| | | | - this provides more information
* Remove now unused local; use bools for return valueJean-Paul Calderone2009-05-131-3/+2
|
* self->pkey is always somethingJean-Paul Calderone2009-05-131-5/+2
|
* Apply pyOpenSSL_rsa_check.diffJean-Paul Calderone2009-05-131-0/+34
|
* Catch up to trunkJean-Paul Calderone2011-06-1222-59/+267
|\
| * Updated docstring styleJean-Paul Calderone2011-05-191-3/+3
| |
| * Use PyBytes_ for 3.x compatibilityJean-Paul Calderone2011-05-181-1/+1
| |
| * Put the get_signature_algorithm test in the right case; add a test for the ↵Jean-Paul Calderone2011-05-181-0/+4
| | | | | | | | undefined case and change the implementation to raise a ValueError for it instead of returning a stupid string
| * always braces, and cuddle them tooJean-Paul Calderone2011-05-171-3/+4
| |
| * Apply get_signature_algorithm parts of okuda's patchJean-Paul Calderone2011-05-171-0/+24
| |
| * Support OpenSSL 1.0Jean-Paul Calderone2011-05-102-9/+32
| |\
| | * Flush the OpenSSL error queue after a successful PKCS12 parse in case there ↵Jean-Paul Calderone2011-05-041-9/+19
| | | | | | | | | | | | is some garbage in it.
| | * Apply winsock header hack/fixJean-Paul Calderone2011-04-141-0/+13
| | |\
| | | * Fix for #742885Jason R. Coombs2011-03-251-0/+13
| | | |
| * | | Compatibility with CPython 2.5 though CPython 3.2Jean-Paul Calderone2011-04-221-1/+7
| | | |
| * | | Switch from tp_setattr to tp_setattro, since PyPy does not support the ↵Jean-Paul Calderone2011-04-221-3/+13
| | | | | | | | | | | | | | | | former; also fix an error case which affects CPython too, where an unknown attribute is set on an X509Name
| * | | Fix a lot of reference counting bugs introduced by stupid copy/pastingJean-Paul Calderone2011-04-201-2/+2
| | | |
| * | | A bunch of PyPy fixesJean-Paul Calderone2011-04-1812-11/+46
| |\ \ \
| | * | | Add a lot of missing Py_INCREFJean-Paul Calderone2011-03-1212-11/+46
| | | | |
| * | | | Catch up to trunkJean-Paul Calderone2011-04-1820-38/+118
| |\ \ \ \ | | |/ / / | |/| / / | | |/ /
| | * | There is no more PyInt_FromLong in 3.x; PyLong_FromLong works everywhereJean-Paul Calderone2011-04-061-1/+1
| | | |
| | * | Sorry, these bytes are mega encoded.Jean-Paul Calderone2011-04-021-1/+1
| | | |
| | * | Expose the data in the extension, and tests.Jean-Paul Calderone2011-04-011-0/+21
| | | |