summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 0.16 release.0.16Heikki Toivonen2006-07-050-0/+0
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/tags/0.16@458 2715db39-9adf-0310-9c64-84f055769b4b
* Fix Vrije Universiteit copyright years.Heikki Toivonen2006-07-057-7/+7
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/branches/0.16@457 2715db39-9adf-0310-9c64-84f055769b4b
* Ensure that we have valid certificates, by Matt Rodriguez.Heikki Toivonen2006-06-211-7/+49
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/branches/0.16@454 2715db39-9adf-0310-9c64-84f055769b4b
* Do the iterator in a way that works also in Python 2.3, patch by Thomas D. Uram.Heikki Toivonen2006-06-201-2/+2
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/branches/0.16@452 2715db39-9adf-0310-9c64-84f055769b4b
* Bug 6031, OpenSSL can be configured without EC so needHeikki Toivonen2006-06-123-4/+9
| | | | | | | to deal with it gracefully, patch by Miloslav Trmac. git-svn-id: http://svn.osafoundation.org/m2crypto/branches/0.16@449 2715db39-9adf-0310-9c64-84f055769b4b
* Create 0.16 branch.Heikki Toivonen2006-06-020-0/+0
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/branches/0.16@445 2715db39-9adf-0310-9c64-84f055769b4b
* Bug 5869, demo scripts on how to generate, query and destroyHeikki Toivonen2006-05-314-0/+424
| | | | | | proxy certificates, by Matt Rodriguez. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@444 2715db39-9adf-0310-9c64-84f055769b4b
* Just test that we get the right exception, different OpenSSLHeikki Toivonen2006-05-241-8/+1
| | | | | | | versions and maybe even different operating systems introduce differencies in what exactly is in the exception. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@443 2715db39-9adf-0310-9c64-84f055769b4b
* Add set_params function, last part of bug 5519.Heikki Toivonen2006-05-222-0/+28
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@442 2715db39-9adf-0310-9c64-84f055769b4b
* SSL module documentation fixes and additions.Heikki Toivonen2006-05-102-29/+67
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@441 2715db39-9adf-0310-9c64-84f055769b4b
* Warn about set_params method.Heikki Toivonen2006-05-101-0/+7
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@440 2715db39-9adf-0310-9c64-84f055769b4b
* Bug 5519, various DSA enhancements, by Larry Bugbee.Heikki Toivonen2006-05-106-77/+385
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@439 2715db39-9adf-0310-9c64-84f055769b4b
* Bug 5582, fix twisted wrapper memory leak by removingHeikki Toivonen2006-05-092-13/+29
| | | | | | | the __del__ method which was preventing the wrapper from being garbage collected. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@438 2715db39-9adf-0310-9c64-84f055769b4b
* Forgot to import m2.Heikki Toivonen2006-05-041-1/+1
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@437 2715db39-9adf-0310-9c64-84f055769b4b
* Commenting out the search_paths_first trick for now becauseHeikki Toivonen2006-05-031-1/+1
| | | | | | it breaks at least Cygwin. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@436 2715db39-9adf-0310-9c64-84f055769b4b
* Added test_HTTPS.Heikki Toivonen2006-05-031-0/+18
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@435 2715db39-9adf-0310-9c64-84f055769b4b
* According to Martin Paljak, latest darwin universal PythonHeikki Toivonen2006-05-021-0/+1
| | | | | | requires -Wl,-search_paths_first extra link args. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@434 2715db39-9adf-0310-9c64-84f055769b4b
* Since OpenSSL didn't get sha224-512 until 0.9.8, set theHeikki Toivonen2006-05-025-14/+21
| | | | | | versions guards in place. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@433 2715db39-9adf-0310-9c64-84f055769b4b
* Fix read() regression: the parameter should be size=1024.Heikki Toivonen2006-04-281-3/+3
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@432 2715db39-9adf-0310-9c64-84f055769b4b
* Fixed SSL.Connection.set_client_CA_list_from_file to use theHeikki Toivonen2006-04-282-2/+4
| | | | | | implemented function. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@431 2715db39-9adf-0310-9c64-84f055769b4b
* Fix minor import and indentation problems found with pylint.Heikki Toivonen2006-04-285-54/+52
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@430 2715db39-9adf-0310-9c64-84f055769b4b
* Minor changes, mostly commented out, to show that readingHeikki Toivonen2006-04-271-3/+3
| | | | | | signed and encrypted from memory does not seem to work. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@429 2715db39-9adf-0310-9c64-84f055769b4b
* I believe we need to write both the signature AND the bufferHeikki Toivonen2006-04-271-1/+1
| | | | | | | from which the signature was derived into the signed SMIME message which we then encrypt. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@428 2715db39-9adf-0310-9c64-84f055769b4b
* Bug 5501, added sign and verify methods to RSA and get_rsa to PKey,Heikki Toivonen2006-04-276-6/+251
| | | | | | original patch by Matt Rodriguez. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@427 2715db39-9adf-0310-9c64-84f055769b4b
* Removed SMIME.save_certs which was not implemented.Heikki Toivonen2006-04-251-3/+0
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@426 2715db39-9adf-0310-9c64-84f055769b4b
* Fixed load_pkcs7 (was always raising exceptions). FixedHeikki Toivonen2006-04-252-10/+79
| | | | | | | potential memory leaks in load_pkcs7 and smime_load_pkcs7 (would leak bio objects if pkcs7 read failed). git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@425 2715db39-9adf-0310-9c64-84f055769b4b
* Got signEncryptDecryptVerify working but the decrypt partHeikki Toivonen2006-04-251-19/+21
| | | | | | | only when reading from file - reading from bio results in error. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@424 2715db39-9adf-0310-9c64-84f055769b4b
* Fixed what I believe was an error in making an unencryptedHeikki Toivonen2006-04-251-5/+5
| | | | | | key out of an encrypted key. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@423 2715db39-9adf-0310-9c64-84f055769b4b
* More certificate verification tests.Heikki Toivonen2006-04-251-11/+66
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@422 2715db39-9adf-0310-9c64-84f055769b4b
* Fixed all but decryptVerify tests, still not sure how to fixHeikki Toivonen2006-04-241-49/+42
| | | | | | that one. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@421 2715db39-9adf-0310-9c64-84f055769b4b
* Hmph, of course I need to make it so the test actually passes...Heikki Toivonen2006-04-241-6/+1
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@420 2715db39-9adf-0310-9c64-84f055769b4b
* Removed pkcs7_get0_signers because it was not implementedHeikki Toivonen2006-04-242-7/+0
| | | | | | | correctly and would in fact crash python if used. Will probably need to reimplement it correctly soon. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@419 2715db39-9adf-0310-9c64-84f055769b4b
* Added test_verify_cert_fail.Heikki Toivonen2006-04-241-0/+16
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@418 2715db39-9adf-0310-9c64-84f055769b4b
* Don't need separate server_key.pem.Heikki Toivonen2006-04-241-9/+0
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@417 2715db39-9adf-0310-9c64-84f055769b4b
* New test certificates to replace expired ones.Heikki Toivonen2006-04-2410-140/+414
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@416 2715db39-9adf-0310-9c64-84f055769b4b
* This is not used anywhere, deleting.Heikki Toivonen2006-04-201-19/+0
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@415 2715db39-9adf-0310-9c64-84f055769b4b
* Figued out how X509_Name.C was supposed to work so added it to test.Heikki Toivonen2006-04-121-10/+9
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@414 2715db39-9adf-0310-9c64-84f055769b4b
* Bug 5601, it is now possible to also get a non-nid memberHeikki Toivonen2006-04-123-9/+18
| | | | | | value from X509_Name. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@413 2715db39-9adf-0310-9c64-84f055769b4b
* Add mention that connect() and accept() were fixed.Heikki Toivonen2006-04-121-1/+2
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@412 2715db39-9adf-0310-9c64-84f055769b4b
* Should init and cleanup threading since we use threading code.Heikki Toivonen2006-04-071-0/+3
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@411 2715db39-9adf-0310-9c64-84f055769b4b
* Remaining part of bug 2835, setblocking caused a refcycleHeikki Toivonen2006-04-052-8/+41
| | | | | | | that cause leaks. Redo write/read methods so that there won't be cycles. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@410 2715db39-9adf-0310-9c64-84f055769b4b
* Report only uncollectable gc, thanks to pje.Heikki Toivonen2006-04-051-4/+4
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@409 2715db39-9adf-0310-9c64-84f055769b4b
* Got a hint from Phillip J. Eby that making _ctxmap.map aHeikki Toivonen2006-04-051-1/+3
| | | | | | | WeakValueDictionary should get rid of the HTTPSConnection- leaking-ctx bug, part of bug 2835. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@408 2715db39-9adf-0310-9c64-84f055769b4b
* It seems only the twisted sample leaks in a way that the currentHeikki Toivonen2006-04-051-0/+6
| | | | | | leak detection method works. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@407 2715db39-9adf-0310-9c64-84f055769b4b
* Leak tests for test_ssl, disabled by default.Heikki Toivonen2006-04-052-22/+31
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@406 2715db39-9adf-0310-9c64-84f055769b4b
* Removed the caveat about PRNG because AFAIK we use what OpenSSLHeikki Toivonen2006-04-051-14/+4
| | | | | | | | | | provides and that should be good enough. Removed references to other Python crypto software, because they are easy to find and it would be strange to try and maintain a list of other crypto software here. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@405 2715db39-9adf-0310-9c64-84f055769b4b
* Removed the caveat about Python/OpenSSL security bugs. BothHeikki Toivonen2006-04-051-8/+4
| | | | | | | | | | | have had (and will have) issues, but that is the fact of life. Besides, both are very popular and have become under much scrutiny lately. Added a note where to look for sample use, and recommended reading before deploying for real. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@404 2715db39-9adf-0310-9c64-84f055769b4b
* Add memory leak reporting, off by default (if test_sslHeikki Toivonen2006-04-051-4/+32
| | | | | | | is included we leak 141 objects). Should be turned on by default once there are no leaks reported. git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@403 2715db39-9adf-0310-9c64-84f055769b4b
* Removed erronous call to set_debuglevel(1) in m2urllib whichHeikki Toivonen2006-04-054-26/+17
| | | | | | | | was causing HTTP headers to be printed unnecessarily. Moved m2urllib demo into test_ssl.py git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@402 2715db39-9adf-0310-9c64-84f055769b4b
* Add test for HTTPSConnection.Heikki Toivonen2006-04-051-3/+23
| | | | git-svn-id: http://svn.osafoundation.org/m2crypto/trunk@401 2715db39-9adf-0310-9c64-84f055769b4b