Hi
There is experimental extension for gnupg for php:
http://es2.php.net/manual/en/ref.gnupg.php http://pecl.php.net/package/gnupg
I dont know if its a good idea implement experimental extension, but it would work on more installations instead of using exec()
On 12/29/06, Pierre Mauduit pierre.mauduit@gmail.com wrote:
Hi,
- GnUPG support, I would like to add the ability sign or encrypt
messages. A user could paste their private key into a form that then saved it on the server in sql. There is probably a huge security issue with saving private keys on a server. I don't know of a php API, I would most likely use exec();
Please email me any comments, questions or concerns.
I've looked on PEAR php classes and did not find anything about GPG. But there's a Webmail that is implementing this sort of thing : http://www.ilohamail.org/ They're using an exec()-like way to call the gpg binary. The problem is that on a lot of configurations, php exec() call is disabled for security reasons.