8

Today I learned about the basics of OpenPGP and tried to create my first OpenPGP key. However, I found a couple of options suspicious - in the GUI version of the program I downloaded there are fields like name or email or expiration date.

  1. Why am I asked for my name or email? From my very basic understanding to send and receive encrypted messages I only need my private and public key and a public key of another person, the key creation and encryption/decryption is just mathematics, so why the other options? My guess is that name and email can be send to some server and later if somebody wants to send me a message (and doesn't know my public key but knows my email address), they can look it up if there is a public key that matches a given email address. Am I right, and if no, what are they for? Can I just leave them blank?

  2. Another suspicious thing was after what time the key should expire. Is the information about expiration date contained within the key (I don't think it is)? So is the key stored on a server somewhere or what? How does it work?

The reason I ask is that this whole OpenPGP thing seems more centralized than I thought. Why can't the OpenPGP software just have a "Generate a new key" button which generates both the public and private key for me to copy and use (and of course an option to encrypt/decrypt text)?

Jens Erat
  • 24,566
  • 12
  • 82
  • 103
George
  • 291
  • 2
  • 6
  • 2
    @cremefraiche: I think you're unfairly judging this to be a dupe based on the expiry date part, but the question is mainly about personal information. I did a quick search, and couldn't find anything on the site about that. – Luis Casillas Aug 23 '16 at 18:24
  • @LuisCasillas I never said this was a dupe, or flagged it. OP just clearly did not research either of his questions very well or else he would have found the answers, which is why I downvoted. For the second question you literally only have to google 'pgp expire' to find a plethora of answers. – cremefraiche Aug 23 '16 at 18:27