M.O.S. Studios Posted June 9 Share Posted June 9 Hey Everyone, I am using a host that uses Cpanel/GNUpg. From what I can tell, any email sent to me using PGP/GPG is stored on my server as encrypted. If the sender didn't use encryption, it is saved as plain text. I know I can pipe my emails through a PHP script. Does a PHP script/library exist that will automatically encrypt any plain text emails using my public key, before passing them to my email client? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/328560-gpg-on-incomming-mail/ Share on other sites More sharing options...
gizmola Posted June 10 Share Posted June 10 Why? Do you expect everyone you send email to, to use PGP to decrypt your emails? Quote Link to comment https://forums.phpfreaks.com/topic/328560-gpg-on-incomming-mail/#findComment-1654916 Share on other sites More sharing options...
M.O.S. Studios Posted June 11 Author Share Posted June 11 9 hours ago, gizmola said: Why? Do you expect everyone you send email to, to use PGP to decrypt your emails? No the idea is, if I send or receive email from a email with pgp the php script does nothing. if I receive an email from someone who doesn’t, the php script will encrypt it on my server. if I sent it to someone that doesn’t have it, it will send a plain text email, then encrypt the local copy. Quote Link to comment https://forums.phpfreaks.com/topic/328560-gpg-on-incomming-mail/#findComment-1654947 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.