Twisted Spread: How to authenticate each RPC with digital signature

Posted by kronat on Stack Overflow See other posts from Stack Overflow or by kronat
Published on 2012-09-12T09:36:34Z Indexed on 2012/09/12 9:38 UTC
Read the original article Hit count: 208

Filed under:
|
|
|

I have remote objects which talk each others with RPCs, using Twisted Spread.

I want that objects authenticate messages, before using them, with digital signatures, but I don't know where to start to implement this.

In my head, the Root object must have a public/private key pair, and the Client too. When a message is sent, a digital signature of the hash is added, and when it is received, the signature is checked. Is the Protocol part where I need to add these adds and checks?

Thank you

© Stack Overflow or respective owner

Related posts about python

Related posts about twisted