I need to send a md5 hash of client to server, and the server authenticate
this md5 hash.
Server authenticator
hexdata = hashlib.md5("asdf").hexdigest()
def authenticator(sock):
data = sock.recv(32)
if data != hexdata :
raise AuthenticationError("unknown source client!")
return sock, hexdata
Client connection - How to pass the hash to the server ?
conn = connect(host, port)
How to do this ?
--
---
You received this message because you are subscribed to the Google Groups
"rpyc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.