Find the Public Key of a ProtonMail User

Ahmed Musaad
Ahmed Musaad
Find the Public Key of a ProtonMail User

I realised I needed an easier way to provide my PGP key to readers without putting the key itself on the page (for several reasons). I thought this information could be useful to others, so here we go.

ProtonMail is (in their own words) “an easy to use secure email service with built-in end-to-end encryption and state-of-the-art security features.” I have been using it for a while now and absolutely love it.

While updating the contact page on this website, I realized I needed an easier way to provide my PGP key to anyone who reads my website without putting the key itself on the page (for several reasons). After a bit of search, I found the key server used by ProtonMail which could be used to retrieve the public key of any user.

Download the Key

Browse to the following link in a browser of your choice. Replace the email address with the address you are interested in finding its key.

https://api.protonmail.ch/pks/lookup\?op\=get\&search\=contact%40ahmedmusaad.com

Retrieve the Key using curl

curl -XGET https://api.protonmail.ch/pks/lookup\?op\=get\&search\=contact%40ahmedmusaad.com


Great! Next, complete checkout for full access to Ahmed Musaad
Welcome back! You've successfully signed in
You've successfully subscribed to Ahmed Musaad
Success! Your account is fully activated, you now have access to all content
Success! Your billing info has been updated
Your billing was not updated