DEV Community

Cover image for I created a light and easy to use PGP encryption tool 🔐
Théo
Théo

Posted on • Edited on

I created a light and easy to use PGP encryption tool 🔐

aliceandbob.io - a PGP encryption tool

GitHub logo aliceandbob-io / aliceandbob

🔐 A free, light and easy to use client-side tool to generate PGP key pairs, encrypt and decrypt messages.

I once needed to generate a PGP key pair and I thought that I could maybe create my own tool in order to do so, so I made aliceandbob.io! 🚀

To make it short, aliceandbob.io is a free, light and easy-to-use PGP encryption tool based on OpenPGP.js, an open source implementation of openPGP.

aliceandbob.io screenshot

Let's have a look to the available and upcoming features! ⤵️

🌌 Features currently available

Encryption features

  • 🗝️ generate PGP key pairs (elliptic-curve cryptography(ECC)),
  • 🔒 encrypt messages with a public PGP key, and
  • 🔓 decrypt messages with your private key.

Available params for encryption

Public keys are currently generated with the following params:

  • 📧 your email, and
  • 🤐 your passphrase.

Additional features

  • 📥 download your keys in .txt format, and
  • 📎 copy/past your keys easily.

🛠️ Tech used

  • HTML & CSS - the basis of the web app
  • Ruby & Ruby on rails - as I think it would be the easiest way to implement further back-end features and it is currently my favorite web-app framework
  • Stimulus.js - a great Javascript framework, simple and modern

📚 Library

For this project, I decided to rely on OpenPGP.js, a JavaScript implementation of the OpenPGP protocol. You can find out more on openpgpjs.org.

🌱 Future developments

At this stage, no need to install anything, the tool is web-based and the encryption logic is fully client-side. ✌️

Of course, at some point, a desktop implementation would be great as it stays the most secure way to generate PGP keys!

The web app is regularly updated and the possibility to choose the type of elliptic curve for encryption will be soon added, as well as the possibility to upload your public keys to HKP servers.

🍰 aliceandbob.io is open source!

This project is open source, so feel free to take a look at the Github repository, watch it, fork it, star it! 🌟

GitHub logo aliceandbob-io / aliceandbob

🔐 A free, light and easy to use client-side tool to generate PGP key pairs, encrypt and decrypt messages.

📣 Spread the word!

Don't hesitate to talk about aliceandbob.io around you, the more the merrier, don't you think!? 😉


If you like the app and would like it to be improved, please consider buying me a coffee ☕! It would help me a lot for the server and domain costs.

I would also like to thanks @liyasthomas for his work. All his projects inspired me a lot when building this app. 💻🙏

I hope you will like it and do not hesitate to let me know if you have any feedback or questions!

Thank you all for reading! 😊

Top comments (2)

Collapse
 
liyasthomas profile image
Liyas Thomas

This is awesome.
I'm glad you made this open source.

Collapse
 
theola profile image
Théo

Thanks to you! 🙏