You are here: Re: Email Encryption « PHP Programming Language « IT news, forums, messages
Re: Email Encryption

Posted by Colin McKinnon on 01/24/07 22:53

jflint wrote:

> A client has purchased a Verisign Digital ID, which creates a public
> and private key
(no it doesn't - cart before horse)

> for encrypting e-mail sent from a server and decrypting
> it when it reaches the users outlook.
(Oh dear, you think outlook [sic] is the only MUA? I suspect you may be
beyond hope already)
>
> How can I encrypt the email from a form using this method? I have read
> about using GPG and others, but have also seen mention of the mcrypt
> functions in php.
>

GPG uses a different set of cyphers and a different trust model from SSL -
you can't use it with the certificate. Same story for mcrypt (but even
wider of the mark since it doesn't support asymmetric encryption at all).

While it is possible to use the PHP openSSL functions, the fact you are
asking the question suggests that this would be a major learning exercise.
A simpler solution would be to run the emails through smime using
exec/popen or using a signing proxy like Gnu Anubis.

HTH

C.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация