The Tor Network for Python developers

Kushal Das (~kushal)




The Tor network is a group of volunteer-operated servers that allows people to improve their privacy and security on the Internet. Tor's users employ this network by connecting through a series of virtual tunnels rather than making a direct connection, thus allowing both organizations and individuals to share information over public networks without compromising their privacy. Along the same line, Tor is an effective censorship circumvention tool, allowing its users to reach otherwise blocked destinations or content. Tor can also be used as a building block for software developers to create new communication tools with built-in privacy features.

It has become even more important as we kept hearing all the different stories about government surveillance and how the big companies are tracking everyone on Internet. In this talk, I will showcase a few ways any Python developer can make use of the Tor Project inside of their code or infrastructure and provide solutions which thinks about the users' privacy from the beginning.

Talk outline

  • Introduction to the Tor Project
  • Simple Python example to do HTTP calls using Tor network
  • Using Stem to control the Tor process for your project
  • Deploying any Python (or any otherone) web application and creating Onion service for the same
  • Points to remember
  • Nyx to monitor
  • More upsteam usecases (onionshare, ooni).

The audience will get a chance to learn about the various ways they can connect and use the Tor network using Python.

Speaker Info:

Kushal Das is privacy advocate who is also part of the Tor Core team and a CPython Core developer. He is working as SecureDrop developer in the Freedom of the Press Foundation.

Id: 1001
Section: Networking and Security
Type: Talks
Target Audience: Beginner
Last Updated: