[issue12551] Provide data for TLS channel binding
Jacek Konieczny
report at bugs.python.org
Thu Jul 14 09:17:08 CEST 2011
Jacek Konieczny <jajcus at jajcus.net> added the comment:
Thanks for the quick review. Most of the problems are my oversights.
I am not sure about that:
> And I think get_channel_binding() should raise NotImplementedError in that case.
As the method is supposed to be extensible and 'tls-unique' may be just one of possible channel-binding types, then I think the same exception should be raised in case 'tls-unique' is requested and not implemented and when other, currently not implemented, channel binding type is requested. The get_channel_binding() method itself is always implemented, that is why I wonder if 'ValueError' is no better. Or 'NotImplementedError' for both 'tls-unique not implemented' and 'unknown channel binding'.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12551>
_______________________________________
More information about the Python-bugs-list
mailing list