Mobile app version of vmapp.org
Login or Join
Pope3001725

: Posting public key Should I put my public PGP key on my website so that people can securely contact me? I have seen personal sites where their public key is at the bottom of the page, such

@Pope3001725

Posted in: #PersonalWebsite #Security

Should I put my public PGP key on my website so that people can securely contact me? I have seen personal sites where their public key is at the bottom of the page, such as this site by the computer scientist Peter Gutmann.


How should I include the key in my page?
Is there a standardized way to include the key?


Many sites include them at the bottom of the page.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Pope3001725

2 Comments

Sorted by latest first Latest Oldest Best

 

@Cofer257

If you want to add it to your site, I would suggest using a separate page to hold it. Put a link to that page at the bottom of every page.

For the key itself, it should be in a textarea element. This allows the exact key to be copy-pasted more easily without extra spaces or any formatting. You can use the readonly attribute to prevent accidental modification of the field.

10% popularity Vote Up Vote Down


 

@Nimeshi995

You can add it to your web page as in the link you cited, or a slightly more elegant way might be to upload it to a public PGP Key Server, such as this or this one, and then add the link to the page for your key on your web page.

If you also use the link within your emails and files, then you'll be able to update your public key in just one place.

You could also use a CAPTCHA to prevent bots from indexing your key, and/or use JavaScript to copy it for the user (between the BEGIN and END blocks).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme