[issue16487] Allow ssl certificates to be speficfied from memory rather than files.

2012-11-18 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16487 ___ ___

[issue16487] Allow ssl certificates to be speficfied from memory rather than files.

2012-11-17 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16487 ___ ___

[issue16487] Allow ssl certificates to be speficfied from memory rather than files.

2012-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can't right now. It's only relevant for pcbuild anyway so you can test it for Unix if you want without fear. Don't worry, I always give my patches a cleanup before committing them. I don't want to review a patch if you tell me that it has problematic stuff

[issue16487] Allow ssl certificates to be speficfied from memory rather than files.

2012-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, without looking too much at the patch, I think it would be cleaner to let the certificate functions accept file-like objects, rather than adding keydata/certdata arguments. -- ___ Python tracker

[issue16487] Allow ssl certificates to be speficfied from memory rather than files.

2012-11-17 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: The please don't. I'm actually growing tired of the way you seem to always latch onto every submission I make almost with hostility. I will find someone else to look this over. -- ___ Python tracker

[issue16487] Allow ssl certificates to be speficfied from memory rather than files.

2012-11-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: The please don't. I'm actually growing tired of the way you seem to always latch onto every submission I make almost with hostility. I will find someone else to look this over. I fully realize my reply was blunt. But perhaps you could try to understand that

[issue16487] Allow ssl certificates to be speficfied from memory rather than files.

2012-11-16 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson: The _ssl module (and indeed the openssl lib) relies heaviliy on actual filesystem locations to load certificates. A client or a server may not want to rely on physical filesystem locations to load certificates for authentication or verification.

[issue16487] Allow ssl certificates to be speficfied from memory rather than files.

2012-11-16 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: (the patch contains a local change to set the location of the 'external' dir, please disregard this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16487

[issue16487] Allow ssl certificates to be speficfied from memory rather than files.

2012-11-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: (the patch contains a local change to set the location of the 'external' dir, please disregard this. Can you upload a cleaned up patch then? :) -- components: +Library (Lib) -Extension Modules nosy: +pitrou stage: - patch review

[issue16487] Allow ssl certificates to be speficfied from memory rather than files.

2012-11-16 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Can't right now. It's only relevant for pcbuild anyway so you can test it for Unix if you want without fear. Don't worry, I always give my patches a cleanup before committing them. Meanwhile, I'd welcome comments on the substance. --