Released python-gnutls 0.2
Posted on December 2nd, 2003 by ivo
I have just released version 0.2 of my python wrapper for gnutls. The project homepage
for python-gnutls is http://home.o2w.net/~ivo/python-gnutls/.
The released files are here.
The changes since version 0.1 include:
- New classs ‘server’ and ‘conn’ have been added. The classes
‘client’ and ‘server’ are derived from ‘conn’, and most
methods from ‘client’ have been moved to ‘conn’. - A method handshake() has been added. The handshake is no
longer done implicitly in the gnutls.client constructor. - New methods:
- Class conn: cipher_get, cipher_set_priority,
compression_get, compression_set_priority, kx_get,
kx_set_priority, mac_get, mac_set_priority - Class server: generate_dh_params
- Class conn: cipher_get, cipher_set_priority,
- New constants defining various gnutls functions. They are
named exactly like their counterparts in gnutls/gnutls.h, but
without the GNUTLS_ prefix.
Doesn’t compile out of the box
I tried to compile your bindings. But it stop at line 73 with a parse error before “initgnutls”. I believe it can’t find the macro. I tried looking for it, but I can’t find it either. Do you know where the macro PyMODINIT_FUNC is?
TIA
Can it RPC
I’m not a socket guru, but I do have a SimpleRPCServer working and it does what I need. The only problem is that it does have any encryption. Is there an easy way to use your class to encrypt RPC to/from the SimpleRPCServer???
TIA
Can it RPC
I’m not a socket guru, but I do have a SimpleRPCServer working and it does what I need. The only problem is that it does have any encryption. Is there an easy way to use your class to encrypt RPC to/from the SimpleRPCServer???
TIA