• Hildegarde@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    Both keys can be used to encrypt files that only the other key can read. When sending encrypted messages you generally encrypt with both the sender’s private key, and the recipients public key, so that the recipient can decrypt the document, but they can also know it was sent from who they expect.

    You verify the public key by decrypting something encrypted by the private key.

    • Nat (she/they)@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      2
      ·
      30 days ago

      So the government MitMing you can know it’s from you? I don’t think that changes anything. There’s still nothing stopping a MitM from just changing the key shown at the bottom of the page and then reading whatever you send.