Egon

Robert J. Hansen rjh at sixdemonbag.org
Mon Aug 25 12:03:08 CEST 2025


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 rob.hansen at protonmail.com

... 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20250825/1bc8b555/attachment-0001.sig>


More information about the Gnupg-users mailing list