Re: SSL.Context('tlsv1'): unhashable type

Ng Pheng Siong <[email protected]>
Newsgroups gmane.comp.python.cryptography
Message-ID <[email protected]>
On Sun, Dec 19, 2004 at 05:09:31AM +0100, Piotr Kucharski wrote:
> I'm sorry for probably lame question, but I wanted to install cjc (python
> jabber client), which uses pyxmpp, which requires m2crypto for TLS
> connections. Unfortunately when trying to run such, I get error:
>   File "pyxmpp/streamtls.py", line 274, in _make_tls_connection
>     ctx=SSL.Context('tlsv1')
>   File "M2Crypto/SSL/Context.py", line 41, in __init__
>     map()[self.ctx] = self
>   File "M2Crypto/SSL/Context.py", line 20, in __setitem__
>     self.map[key] = value
> TypeError: unhashable type

This __setitem__ operation happens very frequently. I run my echo servers
and clients at will and have not encountered this. I'd suggest some strange
goings in the file streamtls.py...

Where to download that? This link gives me "url redirection limit exceeded":

    http://pyxmpp.jabberstudio.org/

--
Ng Pheng Siong <[email protected]>

http://sandbox.rulemaker.net/ngps -+- M2Crypto, ZServerSSL for Zope, Blog
http://www.sqlcrypt.com -+- Database Engine with Transparent AES Encryption
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.