Does pyOpenSSL supports NPN ?

Asked by Nicholas Amorim on 2013-11-28

I am looking around to implement a SPDY protocol on Twisted and I started doing some research around what is needed to do that. One of the things is NPN at OpenSSL level.. I know that OpenSSL supports NPN since 1.0.1, but I'm not sure if PyOpenSSL supports it... I've seen a branch about NPN on the project but I don't think it has been merged.

https://code.launchpad.net/~myers-1/pyopenssl/npn/+merge/92416

If there isn't support, I was thinking about cloning this branch and do the fixes that Jean-Paul suggested.

Question information

Language:
English Edit question
Status:
Answered
For:
pyOpenSSL Edit question
Assignee:
No assignee Edit question
Last query:
2013-11-28
Last reply:
2013-11-29
Jean-Paul Calderone (exarkun) said : #1

You're right. It hasn't been merged.

There's another npn branch as well, <https://code.launchpad.net/~ppergame/pyopenssl/next-proto>.

Offhand I don't know if it's in better or worse shape than myers-1's branch.

Also, be aware of a major shift in pyOpenSSL development to use the cffi-based OpenSSL bindings provided by github.com/pyca/cryptography (iow, future development of pyOpenSSL will be in Python rather than in C - all unmerged branches will need to be integrated into this work somehow: you may want to consider porting to Python and *then* finishing the branch rather than finishing it in C and then porting it all).

Can you help with this problem?

Provide an answer of your own, or ask Nicholas Amorim for more information if necessary.

To post a message you must log in.