lp://staging/~zseil/pyopenssl/privatekey-callback-fixes
- Get this branch:
- bzr branch lp://staging/~zseil/pyopenssl/privatekey-callback-fixes
Branch merges
- Jean-Paul Calderone: Pending requested
-
Diff: 385 lines (+197/-66)2 files modifiedsrc/crypto/crypto.c (+91/-66)
test/test_crypto.py (+106/-0)
Related bugs
Bug #499628: Inadeqate input validation and a reference leak in crypto.{load, dump}_privatekey | Undecided | Fix Committed |
Related blueprints
Branch information
Recent revisions
- 131. By Ziga Seilnacht
-
Unify code formatting in recently changed functions to what seems to be the currently preferred style.
- 130. By Ziga Seilnacht
-
Add a few more error checks around OpenSSL API calls.
These errors can only occur in low memory conditions, so there
is no reasonable way to test them. - 129. By Ziga Seilnacht
-
Raise an error if a passphrase is used with a private key format that does 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. - 128. By Ziga Seilnacht
-
Additional error checks and a refcount fix for global_
passphrase_ callback. 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. - 123. By Jean-Paul Calderone
-
Re-merge the client CA changes, this time with Windows build fixes to so I can tell if anything actually works
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/~exarkun/pyopenssl/trunk