: 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
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.
More posts by @Pope3001725
2 Comments
Sorted by latest first Latest Oldest Best
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.
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).
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.