Proton Mail has a neat feature where you can fetch the certificate of a Proton account and, upon importing it into your own local OpenPGP app, enjoy end to end encryption between yourself and any Proton user automagically.

The problem is every time I need to do this I need to look up the URL to fetch certs from, download the cert, import it into GnuPG… nothing is hard, but it is time-consuming and annoying.

So I automated the process using libcurl and GPGME.

$ egon [email protected]

... will cheerfully query Proton for my OpenPGP certificate and import it into GnuPG.

It is not ready for primetime. It's literally something I hacked together in a couple of hours while waiting for a doctor's appointment. But it's already mildly useful to me, and who knows, it might be mildly useful to others.

Apache 2.0-licensed, although linking against GPGME incurs its own licensing. Share and enjoy.

("Why Egon?" In the movie _Ghostbusters,_ Egon Spengler was the designer of the famous proton pack. Proton, Egon, it made sense to me…)

https://github.com/rjhansen/egon

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gnupg-users mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to