Re: [Twisted-Python] PLEASE TEST: the new pyOpenSSL alpha release is a major change, and if you use TLS at all with Twisted you should test it

2014-01-21 Thread Matt Haggard
Okay, glyph, since you're shouting :)

When installing, I ran into not having libffi-dev installed (ubuntu).
It wasn't hard to overcome -- just a new dependency I don't typically
install.  (I'm not even gonna try on OS X 10.6.8)

I ran the functional tests of some of our stuff here at work with the
new version and didn't have any failures/changes.  We don't do
anything beyond listenSSL and connectSSL though.

Thanks for doing this.

Matt

On Tue, Jan 21, 2014 at 2:45 PM, Glyph Lefkowitz
 wrote:
> Hi everyone,
>
> Since this particular detail was in the middle of Jean-Paul's release
> announcement, I feel like it's important to draw attention to it.
>
> The new pyOpenSSL v0.14 is a substantial rewrite of all of pyOpenSSL's
> bindings to OpenSSL: while this rewrite should be a vast improvement,
> because eliminates lots of error-prone hand-written C code, replacing it
> with much smaller, much safer declarative C bindings via cffi, it also means
> that things are different now.
>
> Different means “possibly broken” so please test any Twisted applications
> that use TLS with this pre-release.
>
> Sorry for all the bold text and capital letters, but this is both a big
> change and also a change to a particularly security-sensitive area of the
> Twisted stack.  If there were ever a change that you should really test
> before it's marked as “final release”, this is it.
>
> -glyph
>
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] PLEASE TEST: the new pyOpenSSL alpha release is a major change, and if you use TLS at all with Twisted you should test it

2014-01-21 Thread Glyph Lefkowitz
Hi everyone,

Since this particular detail was in the middle of Jean-Paul's release 
announcement, I feel like it's important to draw attention to it.

The new pyOpenSSL v0.14 is a substantial rewrite of all of pyOpenSSL's bindings 
to OpenSSL: while this rewrite should be a vast improvement, because eliminates 
lots of error-prone hand-written C code, replacing it with much smaller, much 
safer declarative C bindings via cffi, it also means that things are different 
now.

Different means “possibly broken” so please test any Twisted applications that 
use TLS with this pre-release.

Sorry for all the bold text and capital letters, but this is both a big change 
and also a change to a particularly security-sensitive area of the Twisted 
stack.  If there were ever a change that you should really test before it's 
marked as “final release”, this is it.

-glyph



smime.p7s
Description: S/MIME cryptographic signature
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Twisted and symlink

2014-01-21 Thread Laurens Van Houtven
Hi Toph,

On Tue, Jan 21, 2014 at 4:14 PM, Toph Bei Fong  wrote:

> i was trying to port Python, Twisted, etc.. to VxWorks.
>

Ooh, exciting :)


>  My Problem now is: twisted/python/lockfile.py (import symlink).
> VxWorks doenst support symlink.
>
> My Questions are:
> * For what is the symlink used?
>

Symlinks are used for lockfiles.


>  * Can i disable them?
>

Well, maybe. Is there some way to create an atomic filesystem lock on
VxWorks?


> * Is there an old version without symlink?
>

Probably not a reasonable version, no.

Is there any other alternative or solution for the symlink?
>

Sure. That module implements an alternative for Windows. I would guess that
you would need one for VxWorks as well.

hth
lvh
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] Twisted and symlink

2014-01-21 Thread Toph Bei Fong
Hello everyone,

i was trying to port Python, Twisted, etc.. to VxWorks.
My Problem now is: twisted/python/lockfile.py (import symlink).
VxWorks doenst support symlink.

My Questions are: 
* For what is the symlink used?
* Can i disable them?
* Is there an old version without symlink?

Is there any other alternative or solution for the symlink?

Best regards.
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Better usage of Twisted on multi core processor

2014-01-21 Thread Sumanth Puram
Nice.
Thanks for the info.
On Jan 20, 2014 8:02 PM, "Laurens Van Houtven" <_...@lvh.io> wrote:

> Hi Sumanth,
>
>
> The first answer by JP Calderone (exarkun) on the following stackoverflow
> question may be of some assistance.
>
>
> http://stackoverflow.com/questions/10077745/twistedweb-on-multicore-multiprocessor
>
> This answer is from 2012; the good news is that the good API that JP talks
> about in his answer is now available in released Twisteds IIUC :)
>
> cheers
> lvh
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Announcing pyOpenSSL 0.14a3

2014-01-21 Thread exarkun

On 01:25 pm, j...@multani.info wrote:
On Tue, Jan 21, 2014 at 12:22:41PM -, exar...@twistedmatrix.com 
wrote:

Hello all,

I'm happy to announce the third alpha leading up to the release of
pyOpenSSL 0.14.

pyOpenSSL is the library Twisted uses for all of its SSL 
functionality.


pyOpenSSL 0.14 is bringing some major changes compared to pyOpenSSL
0.13.  Any and all testing is greatly appreciated.


I'm glad to see the new documentation will finally show up!


Indeed. :)  Sorry about the long delay in publishing this and thank you 
for doing the conversion. :)


Jean-Paul

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Announcing pyOpenSSL 0.14a3

2014-01-21 Thread Laurens Van Houtven
On Tue, Jan 21, 2014 at 2:26 PM,  wrote:

> Hi Laurens,
>
> Right now pyOpenSSL trunk and the release branch only differ in the
> version number they report.  There are some important differences between
> a2 and a3 though (so if you tested trunk before I announced a3 you might
> not have tested the latest code - of course, I hope those changes only
> fixed things, not introduced any new bugs ;).


Yep, I've been testing against trunk pretty much continuously over the last
few days, so I think we're good.

Anyway, all systems green AFAICT, at least no PyOpenSSL bugs..

cheers
lvh
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Announcing pyOpenSSL 0.14a3

2014-01-21 Thread exarkun

On 12:44 pm, _...@lvh.io wrote:

Hi JP,


FWIW, clarent appears to work fine against twisted and pyopenssl trunk. 
Is

there a significant difference between the alpha and trunk (so that I
should also test against the alpha specifically)?

merlyn blows up, but that appears to be only because Axiom uses 
unsignedID,

which has been removed from twisted apparently :)


Hi Laurens,

Right now pyOpenSSL trunk and the release branch only differ in the 
version number they report.  There are some important differences 
between a2 and a3 though (so if you tested trunk before I announced a3 
you might not have tested the latest code - of course, I hope those 
changes only fixed things, not introduced any new bugs ;).


Thanks!
Jean-Paul

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Announcing pyOpenSSL 0.14a3

2014-01-21 Thread Jonathan Ballet
On Tue, Jan 21, 2014 at 12:22:41PM -, exar...@twistedmatrix.com wrote:
> Hello all,
>
> I'm happy to announce the third alpha leading up to the release of
> pyOpenSSL 0.14.
>
> pyOpenSSL is the library Twisted uses for all of its SSL functionality.
>
> pyOpenSSL 0.14 is bringing some major changes compared to pyOpenSSL
> 0.13.  Any and all testing is greatly appreciated.

I'm glad to see the new documentation will finally show up!

 Jonathan

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] Announcing pyOpenSSL 0.14a3

2014-01-21 Thread Laurens Van Houtven
Hi JP,


FWIW, clarent appears to work fine against twisted and pyopenssl trunk. Is
there a significant difference between the alpha and trunk (so that I
should also test against the alpha specifically)?

merlyn blows up, but that appears to be only because Axiom uses unsignedID,
which has been removed from twisted apparently :)

hth
lvh
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


[Twisted-Python] Announcing pyOpenSSL 0.14a3

2014-01-21 Thread exarkun

Hello all,

I'm happy to announce the third alpha leading up to the release of 
pyOpenSSL 0.14.


pyOpenSSL is the library Twisted uses for all of its SSL functionality.

pyOpenSSL 0.14 is bringing some major changes compared to pyOpenSSL 
0.13.  Any and all testing is greatly appreciated.


You can read more about the changes and download the source tarball from 
the github release page:


 https://github.com/pyca/pyopenssl/releases/tag/0.14a3

Feel free to leave feedback here, on a github issue, or on the pyOpenSSL 
mailing list.


Thanks!
Jean-Paul

___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python