LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Sharing Keys: Key Servers vs. Website Uploads (https://www.linuxquestions.org/questions/linux-security-4/sharing-keys-key-servers-vs-website-uploads-4175736479/)

Bala451987 04-27-2024 11:55 AM

Sharing Keys: Key Servers vs. Website Uploads
 
Can I add my keys directly to my website or upload them to any keyservers? Which method is the best practice and safer? I'm concerned that posting on keyservers might expose my email address to everyone. Is it possible to add duplicate emails when generating a key with in Gpg?

jayjwa 04-27-2024 12:07 PM

You can place keys on a website or in ~/.pgpkey if you use fingerd. The point of a key is so people know who you are and can verify this - hiding your email in this context doesn't make sense. You can have multiple email addresses on one key. Good luck finding usable keyservers. Since key poisoning became a thing, there are fewer and fewer. I get the feeling that the ones that are up, like MIT's, don't have up-to-date keys for many people.

My suggestion is the keyservers (since there's not many other options), and put your fingerprint at the bottom of your website and/or in your signature. If someone whacks your website, they can replace that key on it as well. Remember, anyone can make a key and claim to be you, therefore the fingerprint is important.

Bala451987 04-28-2024 07:12 AM

Okay thanks.Is it necessary to provide valid email addresses when generating keys, or is it acceptable to use dummy emails? I don't use multiple email addresses frequently, so I'm curious about this requirement.

jayjwa 04-28-2024 12:24 PM

You can put fake emails, but that kind of defeats the purpose of people being able to verify/find/contact you.

Bala451987 05-03-2024 11:15 PM

Thanks man. I have a clarity now. So differentiate multiple key i can do by fingerprint. Am i right?

sundialsvcs 05-05-2024 08:20 PM

Personally, I do both. I post a direct link to a public key file, and a reference to a public key server. Some email client programs, for example, are smart enough to automatically look for a key on a server.

Bala451987 05-07-2024 07:32 AM

Quote:

Originally Posted by sundialsvcs (Post 6500058)
Personally, I do both. I post a direct link to a public key file, and a reference to a public key server. Some email client programs, for example, are smart enough to automatically look for a key on a server.

Hope Thunderbird can? What do you recommend mentioning in emails, including my own signature or attaching a file?

gouttegd 05-07-2024 02:45 PM

Quote:

Originally Posted by sundialsvcs (Post 6500058)
Some email client programs, for example, are smart enough to automatically look for a key on a server.

For auto-discovery of public keys, in addition to publishing to a key server, if you control your own domain name you can also setup a Web Key Directory (WKD) and/or publish a OPENPGPKEY DNS record.

Both methods are supported by GnuPG’s --auto-key-locate, and WKD at least is supported by several email clients.

Bala451987 05-11-2024 07:29 AM

Quote:

Originally Posted by gouttegd (Post 6500345)
For auto-discovery of public keys, in addition to publishing to a key server, if you control your own domain name you can also setup a Web Key Directory (WKD) and/or publish a OPENPGPKEY DNS record.

Both methods are supported by GnuPG’s --auto-key-locate, and WKD at least is supported by several email clients.

Really interesting, Want to try it out.


All times are GMT -5. The time now is 03:33 PM.