How to use GnuPG for the application developers?

Anwesha Sarkar (~anwesha)




“Arguing that you don't care about the right to privacy because you have nothing to hide is no different from saying you don't care about free speech because you have nothing to say. -Edward Snowden.

One’s data is the extension of the person, the digital self. It should be treated as the part of our body. In the present age of massive digital surveillance, it is very difficult to protect the right to privacy. While the developers code or communicate in the digital sphere, she needs to safeguard the privacy rights of the users and the person she is communicating with, respectively. Encryption makes our life easy by protecting the digital self, whereas it makes life difficult for different surveillance agencies. GnuPG, is the most trusted tool on that front.

GnuPG is the free software version of the OpenPGP cryptographic software suite. This command line application permits one to encrypt and put the signature on your data and communication.

There are Python modules which allow easy access to GnuPG’s key management, encryption and signature functionality from Python programs.

In the talk, we will learn how to use the same in your Python application, which will in turn help to protect the privacy of the users for your application.

Talk outline:

  • What is privacy?
  • Why is privacy important.
  • Status in various legal systems.
  • GnuPG
  • Little background and introduction of GnuPG
  • Use cases in command line and also from Python *Points to remember
  • Conclusion


Basic Linux command line skill

Content URLs:

Speaker Info:

Anwesha Das, an Advocate practicing law for 6 years. She is an active user of FOSS technologies. She maintains her blog at One of her major goals is to help the FOSS developers with the legal aspect of the software industry. She currently blogs for PSF. She is the organizer of the PyLadies Pune chapter.

Speaker Links:


Section: Security
Type: Talks
Target Audience: Beginner
Last Updated:

Hi, It would be nice if you add your slides before 10 Sept. It will help our team to review your proposal. Thanks

Rajat Saini (~rajataaron)

Added the slides link.

Anwesha Sarkar (~anwesha)

Login to add a new comment.