Cunningham Law

Can someone please explain why PGP is needs all of these? All explanations of public key encryption don’t include any of these.

And I probably don’t completely understand what PGP is, so please give me a good article or video on it.

  • Em Adespoton@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    PGP = Pretty Good Privacy. It’s both a company and the original product released by Phil Zimmerman that has since been mostly replaced by Gnu PrivyGuard (GPG).

    These products create paired secret keys using the ciphers of your choice. You make the public key available to the public and keep the private key for yourself.

    Then, you can either sign or encrypt some content with your private key, and anyone with your public key can validate that it was you who signed or encrypted the file.

    You can also use someone else’s public key to encrypt a file, and then only the holder of the paired private key can decrypt it. And they can use your public key to validate that it was you who encrypted it.

    Email addresses are optional, but can be embedded in the keypair. This means that someone else can verify that that address is linked with the identity of that keyholder, which assists in getting encrypted content to the right recipient, validates any signed/encrypted email sent from that address, and provides a memorable link to the public key’s owner.

    • RatoGBM@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      4 months ago

      So the email and name will be plaintext in the public key/signatures?

      memorable link to the public key’s owner.

      Ok, just strange how the key generator insists on specifying them. Encryption usually doesn’t like extra metadata.

      • Thann@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        4 months ago

        Its about trusting the data you’re decrypting actually came from who you think it came from.

        So the data is signed with your public key, and your public key is published so people can verify the other stuff you publish. Your email is there just so people can communicate back to you…

        You can of course put junk info in the fields if you want, but the purpose of the program is enabling trustworthy lines of communication.

        • RatoGBM@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

          So the email and username have no cryptographic purpose, they are just there for convenience.

          Thanks I guess…