Hi,

I did a similar thing recently, a chat, that encrypts and signs (for authenticity) each message sent with private-pub keypair: https://github.com/lunemec/python-chat.

It is not p2p, it sends messages to server, which decrypts them, encrypts with its pubkey and sends to all clients for decoding.

It is just a prototype and could be done better. I wanted to have the server act only as a relay for clients to discover each other (no need for DHT) and then to forward each client's pubkey to all others.

I'm not sure exactly how onion routing would be done, I suppose something similar to Tor, but how would you want to use it on chat?

Lukas

On 06/08/2014 09:07 AM, Danny Yoo wrote:


>> I was wondering if it is possible to make a p2p chat application with sha256 secured onion routing in python, and if so, what functions, guides, modules, etc. would I have to look at.

This is somewhat outside of the experience of many folks on this list; you might consider asking on a broader forum. I suspect it is possible, given that Bram Cohen's original bittorent was written in Python.

Try asking on the main Python mailing list.  Good luck!



_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to