Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
pyopenssl
/
da3e6c62aed644b14505c0f151edf9b119fac95f
/
OpenSSL
/
crypto.py
da3e6c6
rstify the docstring a little more
by Jean-Paul Calderone
· 10 years ago
9479d73
Drop the underscore prefix on the other local variable name.
by Jean-Paul Calderone
· 10 years ago
7fbdf64
Made corrections as per suggestions in https://github.com/pyca/pyopenssl/pull/22
by Stephen Holsapple
· 10 years ago
adfd39d
Added support for getting extensions from a X509Req object.
by Stephen Holsapple
· 11 years ago
fab157b
Use the initialization functions that cryptography 0.1 exposes
by Jean-Paul Calderone
· 11 years ago
6922a86
Allow unicode as well as bytes in all the load APIs as well
by Jean-Paul Calderone
· 11 years ago
11ed8e8
Do the other initialization that is probably required.
by Jean-Paul Calderone
· 11 years ago
4f0467a
Lots of Python 3.2 porting work
by Jean-Paul Calderone
· 11 years ago
b64e2a2
Add OpenSSL_add_all_algorithms.
by Jean-Paul Calderone
· 11 years ago
e324fd6
Try "adding" the algorithms or whatever.
by Jean-Paul Calderone
· 11 years ago
9b4115f
Obey the Python 3 exception variable handling rules
by Jean-Paul Calderone
· 11 years ago
6bb4089
try adding some thread initialization logic
by Jean-Paul Calderone
· 11 years ago
dba578b
Only crypto uses new_mem_buf so move it back there for ease of exception handling.
by Jean-Paul Calderone
· 11 years ago
4a68b40
Add a test for bad type value passed to load_certificate_request and fix the behavior. Also incidental additional error handling fix for untested code.
by Jean-Paul Calderone
· 11 years ago
5300d6a
Add a test for the error case of setattr
by Jean-Paul Calderone
· 11 years ago
e728e87
A couple more docstrings
by Jean-Paul Calderone
· 11 years ago
511cde0
add some missing docstrings
by Jean-Paul Calderone
· 11 years ago
c86bb7d
Put some shared code into a shared module and start using it from all three of the main implementation modules.
by Jean-Paul Calderone
· 11 years ago
6037d07
Switch from opentls to cryptography
by Jean-Paul Calderone
· 11 years ago
ed0c57b
implement proper SAN NUL byte handling in the cffi version
by Jean-Paul Calderone
· 11 years ago
e66fde2
Randomly fix another docstring
by Jean-Paul Calderone
· 11 years ago
a12e7d2
Randomly fix a docstring
by Jean-Paul Calderone
· 11 years ago
d899af0
A few more tests, still incomplete
by Jean-Paul Calderone
· 11 years ago
5565f0f
Implement X509Req.verify
by Jean-Paul Calderone
· 11 years ago
e6f32b8
Better tests for X509Store.add_cert and a fix
by Jean-Paul Calderone
· 11 years ago
a63714c
The rest of ContextTests passing and almost all of Connection-related tests passing too
by Jean-Paul Calderone
· 11 years ago
8a1bea5
A big chunk of ContextTests passing
by Jean-Paul Calderone
· 11 years ago
ff363be
Fix the `evil()` case of `X509Name.__setattr__` on PyPy (by deleting it).
by Jean-Paul Calderone
· 11 years ago
b0f6471
Fix the bad-data PKCS7 case. Also fix a memory BIO issue on PyPy by copying the string input data before giving it to the BIO, and also explicitly keeping the data alive as long as the BIO stays alive. This may still not be correct (on CPython or PyPy) because BIO_free ostensibly frees the data passed to it.
by Jean-Paul Calderone
· 11 years ago
9a194eb
another memory leak fixed
by Jean-Paul Calderone
· 11 years ago
2c2e21d
Fix more memory leaks
by Jean-Paul Calderone
· 11 years ago
ef9a3dc
Fix X509ExtTests to actually do proper leak checking and fix some more leaks
by Jean-Paul Calderone
· 11 years ago
0c73aff
Fix memory leaks in dump_certificate
by Jean-Paul Calderone
· 11 years ago
3a90aa5
Fix leaks in _set_asn1_time and set_serial_number
by Jean-Paul Calderone
· 11 years ago
fd37136
Fix some more leaks
by Jean-Paul Calderone
· 11 years ago
68a6f8f
Somewhat more sophisticated leak reporting
by Jean-Paul Calderone
· 11 years ago
f6745b3
Some support for detecting memory leaks in the unit tests, and a number of fixes to actually clean up memory allocated by various OpenSSL APIs
by Jean-Paul Calderone
· 11 years ago
4e8be1c
Sadly, all of PKCS7Tests are made to pass by this change.
by Jean-Paul Calderone
· 11 years ago
a46fdd1
Reflect what is still left to do
by Jean-Paul Calderone
· 11 years ago
e5912ce
All of PKCS12Tests passing
by Jean-Paul Calderone
· 11 years ago
3b89f47
All of NetscapeSPKITests passing
by Jean-Paul Calderone
· 11 years ago
85b74eb
CRLTests all passing
by Jean-Paul Calderone
· 11 years ago
5712298
RevokedTests passing
by Jean-Paul Calderone
· 11 years ago
c9a395f
Make another FunctionTests case pass by implementing some more proper error handling
by Jean-Paul Calderone
· 11 years ago
8cf4f80
sign and verify, for the most part
by Jean-Paul Calderone
· 11 years ago
d418a9c
X509ExtTests all passing
by Jean-Paul Calderone
· 11 years ago
c2154b7
All of X509ReqTests passing
by Jean-Paul Calderone
· 11 years ago
4328d47
Much of X509Req
by Jean-Paul Calderone
· 11 years ago
066f057
Some more work towards getting FunctionTests passing
by Jean-Paul Calderone
· 11 years ago
23478b3
Add format type check as well; and use passphrase helper to support passphrases in dump_privatekey.
by Jean-Paul Calderone
· 11 years ago
e41f05c
Refactor to make passphrase code reusable
by Jean-Paul Calderone
· 11 years ago
31393aa
Passphrase support in load_privatekey
by Jean-Paul Calderone
· 11 years ago
c86fcaf
All of PKeyTests passing
by Jean-Paul Calderone
· 11 years ago
83d22eb
All of X509Tests passing !
by Jean-Paul Calderone
· 11 years ago
662afe5
X509.gmtime_adj_notBefore
by Jean-Paul Calderone
· 11 years ago
1924797
Fix the GENERALIZEDTIME case of _get_boundary_time
by Jean-Paul Calderone
· 11 years ago
c2bd4e9
X509 issuer getter/setter and the rest of the get/set notAfter/Before apis
by Jean-Paul Calderone
· 11 years ago
a9de195
Get all the X509Name tests passing
by Jean-Paul Calderone
· 11 years ago
d7d8127
Add some necessary error checking to set_notBefore; and other time-related fixes.
by Jean-Paul Calderone
· 11 years ago
09e3bdc
X509.sign handles ungenerated keys properly now
by Jean-Paul Calderone
· 11 years ago
e4aa3fa
Port X509.get_signature_algorithm
by Jean-Paul Calderone
· 11 years ago
b407872
Implement X509.digest
by Jean-Paul Calderone
· 11 years ago
edafced
Handle misuse of public key for signing attempt
by Jean-Paul Calderone
· 11 years ago
3e29ccf
Port X509.sign
by Jean-Paul Calderone
· 11 years ago
7813385
X509 serial numbers
by Jean-Paul Calderone
· 11 years ago
abfbab6
An assorting of rewriting, guided by the test suite but with an unfortunately necessary broadness of scope
by Jean-Paul Calderone
· 11 years ago
084b752
Move the crypto extension module aside to make way for an incremental rewrite in Python
by Jean-Paul Calderone
· 11 years ago