[19:50:07] <J1m> I'm not an expert in this stuff, so I'm really hoping that someone packages up a fix in a form I can use.
[19:50:58] <J1m> If not, I'll probably change buildout to use requests, which may be the right answer anyway.
[19:51:11] <dstufft> J1m: I don't know buildout's code at all, is buildout directly using urllib?
[19:51:52] <dstufft> J1m: I don't know what versions buildout needs to support, if it matches what requests supports that's a very good option fwiw
[19:51:52] <J1m> no, buildout uses distribute/setuptools, which uses urllib2, but it would be easy enough for buildout to register a better opener w urllib2.
[19:53:07] <J1m> wellm buildout2 uses python 2.6 and later. Some people probably rely on using buildout 1 with earlier versions.
[19:53:57] <dstufft> J1m: https://github.com/pypa/pip/pull/791/files#L15R72 the VerifiedHTTPSConnection and VerifiedHTPSOpener should work with just plain urllib2 (once you remove the line that has the PIP_CERT env var)
[19:54:03] <J1m> buildout 1 actually has the ability to build for other versions of Python, so someone could use buildout with Python 2.6 to build Python 2.4 applications.
[19:55:18] <J1m> Yeah, that's the PR I looked at the other day.
[19:55:27] <dstufft> J1m: FWIW pip is probably dropping support for 2.5 in the next release. If so i'll probably try to get them off of urllib2 and into requests. I'd really like to not need to have monkeypatches for SSL laying around. much nicer to keep security related stuff in one location (requests / ssl)
[19:56:14] <J1m> If I copy the code from the pip changes, then I'll have to maintain my copy.
[19:56:46] <J1m> I'd rather there be a maintained suecure urllib2 opener that pip, me, and other used.
[19:57:03] <J1m> But you're probably right that we should all switch to requests.
[19:57:08] <dstufft> J1m: btw Crate.io uses #sha256=<…> instead of #md5=, and i'm going to be pushing for PyPI to do the same
[19:57:56] <dstufft> http://www.openwall.com/lists/oss-security/2013/03/11/4 <- request for a CVE for setuptools/distribute (and ancillarly buildout) because using MD5 is a bad bad thing (I can't request a CVE for PyPI because it's a service not a piece of software)
[19:57:58] <J1m> Yeah. I haven't had time to keep up with all the discussions, but I think I saw that go by.
[19:59:06] <dstufft> J1m: fwiw if buildout ever needs security related help feel free to ping me. I desperately want packaging to be secure :)
[20:00:00] <J1m> Much thanks. I'd love to not have to ping you because what I'm using takes care of it. :)