[issue14204] Support for the NPN extension to TLS/SSL

2012-05-02 Thread Colin Marc
Colin Marc added the comment: Ah ok, just curious. Thanks! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14204] Support for the NPN extension to TLS/SSL

2012-05-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Just noticed this is missing from "What's new in Python 3.3": > http://docs.python.org/dev/whatsnew/3.3.html. > Should I submit a patch for that? No need for that, the What's New document usually gets filled later in the release cycle. -- __

[issue14204] Support for the NPN extension to TLS/SSL

2012-05-02 Thread Colin Marc
Colin Marc added the comment: Just noticed this is missing from "What's new in Python 3.3": http://docs.python.org/dev/whatsnew/3.3.html. Should I submit a patch for that? -- ___ Python tracker

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-28 Thread Marcelo Fernández
Changes by Marcelo Fernández : -- nosy: +marcelo_fernandez ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Closing since the buildbots don't seem to show any new failures after the commit. Thank you for your contribution! -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2514a4e2b3ce by Antoine Pitrou in branch 'default': Issue #14204: The ssl module now has support for the Next Protocol Negotiation extension, if available in the underlying OpenSSL library. http://hg.python.org/cpython/rev/2514a4e2b3ce --

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a fixed patch. It also came to me that "selected_protocol" could be ambiguous, so I renamed it to "selected_npn_protocol". -- Added file: http://bugs.python.org/file24916/npn.patch ___ Python tracker

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Sorry for the delay. I've run the tests (with OpenSSL 1.0.1-beta3) in debug mode and got an error: == ERROR: test_npn_ext (test.test_ssl.ThreadedTests)

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-12 Thread Colin Marc
Colin Marc added the comment: More updates to the patch. -- Added file: http://bugs.python.org/file24797/npn_patch_py3.diff ___ Python tracker ___ __

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-12 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-11 Thread Colin Marc
Colin Marc added the comment: Updated patch. -- Added file: http://bugs.python.org/file24786/npn_patch_py3.diff ___ Python tracker ___ __

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-10 Thread Colin Marc
Colin Marc added the comment: Here's the OpenSSL code I referenced for my implementation. It's an excerpt of ssl/lib_ssl.c, starting at line 1514. -- Added file: http://bugs.python.org/file24778/npn_openssl_ref.c ___ Python tracker

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-10 Thread Sidney San Martín
Changes by Sidney San Martín : -- nosy: +ssm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-10 Thread Colin Marc
Colin Marc added the comment: Oops, I had my vim configured wrong and left a few tab characters in there. Here's another updated patch =) -- Added file: http://bugs.python.org/file24777/npn_patch_py3.diff ___ Python tracker

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-10 Thread Colin Marc
Colin Marc added the comment: Here's an updated patch against 3.3. -- Added file: http://bugs.python.org/file24775/npn_patch_py3.diff ___ Python tracker ___

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Colin Marc
Colin Marc added the comment: Re the IETF draft: I'm not sure. However, I didn't actually have to implement the specification at all - that was all handled by OpenSSL. My patch just calls the appropriate SSL_CTX_* methods. Thanks for the tip. I'm still interested in this getting included, so

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hello Marc, > Recent versions of OpenSSL (1.0.1 and greater) support a new extension > to SSL/TLS called Next Protocol Negotiation, defined here: > http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-02. Apparently this is an IETF draft. Do you know if it

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: > If I ported it to 3.3 or 3.4, would it then be backported to 2.7? Or > is there zero chance of that either? If so, why? I apologize, I'm new > to the process. It won't be backported. Python 2.7 is in bug-fix mode; no new features are allowed it it. In additi

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Colin Marc
Colin Marc added the comment: If I ported it to 3.3 or 3.4, would it then be backported to 2.7? Or is there zero chance of that either? If so, why? I apologize, I'm new to the process. -- ___ Python tracker _

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Martin v . Löwis
Martin v. Löwis added the comment: There is zero chance that this can go into 2.7. So if you want to see it included, please port it to Python 3, and it may become part of Python 3.3 or 3.4. -- nosy: +loewis versions: +Python 3.3 -Python 2.7 ___ Py

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-05 Thread Colin Marc
New submission from Colin Marc : Recent versions of OpenSSL (1.0.1 and greater) support a new extension to SSL/TLS called Next Protocol Negotiation, defined here: http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-02. The extension allows servers and clients to advertise which protocols th