﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
66	install requires pyOpenSSL (for secure mode)	Zooko	Brian Warner	"Using {{{easy_install}}} to install {{{foolscap}}} with its ability to have secure connections fails because foolscap doesn't declare its dependency on {{{pyOpenSSL}}}, although it does declare its dependency on {{{twisted}}}:

[source:setup.py]

We could define, in {{{setuptools}}} terms an ""extra"" feature of foolscap, which is secure connections.

http://peak.telecommunity.com/DevCenter/setuptools#declaring-extras-optional-features-with-their-own-dependencies

This could be expressed in the {{{setup.py}}} as something like this:

{{{
extras_require = {
        'secure_connections':  [""pyOpenSSL>=0.6""],
}
}}}

However it might be better to simply make foolscap ''always'' require {{{pyOpenSSL}}} (and for that matter it might be better to make it ''always'' create and use secure connections).  This idea in the general case has been persuasively advocated by Ian Grigg: [http://iang.org/ssl/h3_there_is_only_one_mode_and_it_is_secure.html ""There Is Only One Mode And It Is Secure.""].

In order to do that, of course, we simply need add ""pyOpenSSL >= 0.6"" to the list of {{{install_requires}}} in the {{{setup.py}}}."	defect	closed	major	0.2.8	packaging	0.2.5	fixed		
