Search code examples
encryptionpgpencryption-symmetric

How to do authentication with PGP asymmetric encryption?


I'm writing a message and encrypting it for my recipients with a PGP data encryption model.

How should the signing process by me, the sender, and authentication by the receivers work only for authentication purposes?


Solution

  • In order to provided authentication and not confidentiality of the data, the data sender will encrypting his message using a private key and everyone who will decrypt the message using the sender's public key, that we can assume known to everyone, will know his identity.