I found the answer the hard way but I managed do what I needed.
Project with client|server
<https://github.com/NorthCat/test2/tree/29ac9be93b6fc75ba05fb59c36d5a2538946dc8b>
Em terça-feira, 8 de março de 2016 12:46:51 UTC-3, Alex Sandro escreveu:
>
> 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.