Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #26063 > unrolled thread

ssl: add msg_callback

Started byThiébaud Weksteen <thiebaud@weksteen.fr>
First post2012-07-26 13:47 +1000
Last post2012-07-26 13:47 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  ssl: add msg_callback Thiébaud Weksteen <thiebaud@weksteen.fr> - 2012-07-26 13:47 +1000

#26063 — ssl: add msg_callback

FromThiébaud Weksteen <thiebaud@weksteen.fr>
Date2012-07-26 13:47 +1000
Subjectssl: add msg_callback
Message-ID<mailman.2588.1343281342.4697.python-list@python.org>
Hi python-list,

I wrote a patch for Python 3.2.3 to expose the function
SSL_CTX_set_msg_callback in the module _ssl.

I was actually surprise this function was not already in the
standard library as it is really handy:
"SSL_CTX_set_msg_callback() or SSL_set_msg_callback() can be used
to define a message callback function cb for observing all SSL/TLS
protocol messages (such as handshake messages) that are received or 
sent."

Here is the patch:
https://github.com/tweksteen/abrupt-usecase/blob/master/python-ssl-3.2.3.patch

Let me know your opinion on that. Does it worth being included?

Thiébaud

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web