This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jajcus
Recipients Jajcus, pitrou
Date 2011-07-13.17:55:11
SpamBayes Score 1.4237835e-09
Marked as misclassified No
Message-id <1310579713.58.0.112061225298.issue12551@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch, ready for review. Seems to work, though I still need to check it with some other implementation.

I have chosen not to expose another three OpenSSL functions (SSL_get_finished, SSL_get_peer_finished, SSL_session_reused), but provide API just for getting the channel binding. If OpenSSL provides a better API some day (gnutls already has a dedicated function), we can use that.

The method added to SSLSocket - get_channel_binding() currently can return only the 'tls-unique' channel binding type, but can be easily extended for other types, which also may be easier to get from the C module.
History
Date User Action Args
2011-07-13 17:55:13Jajcussetrecipients: + Jajcus, pitrou
2011-07-13 17:55:13Jajcussetmessageid: <1310579713.58.0.112061225298.issue12551@psf.upfronthosting.co.za>
2011-07-13 17:55:13Jajcuslinkissue12551 messages
2011-07-13 17:55:12Jajcuscreate