webguerilla / pgpmailer
PGP Mailer
1.0.0-alpha.2
2014-06-13 11:19 UTC
Requires
- pear-pear.php.net/crypt_gpg: 1.3.*
- silex/silex: ~1.2
- symfony/config: ~2.3
- symfony/form: ~2.3
- symfony/translation: ~2.3
- symfony/twig-bridge: ~2.3
- symfony/validator: ~2.3
- twig/twig: 1.*
This package is not auto-updated.
Last update: 2025-06-17 06:35:56 UTC
README
This is a script for a contact form which is able to sent PGP encrypted emails. The content of the submission is encrypted to a public key and is done on the server. It is strongly recommended that you only use pgpmailer with a secure connection such as SSL. If you use pgpmailer on an unsecure connection there is a possibility your private data can be intercepted and modified before it is encrypted.
Requirements
- PHP 5
- GnuPG
- composer
Install
Via Composer
{ "require": { "webguerilla/pgpmailer": "~1.0" } }
Usage
pgpmailer requires having a PGP key and exporting an ASCII-armored public key.
- Copy an ASCII-armored public key to 'public/assets/' For example: 'public/assets/0xBADB0B1337.asc'.
- Modify the config file in 'install/config.sample.php' where it says $publicKeyFilepath. For example: $publicKeyFilepath = PATH_PUBLIC . '/assets/0xBADB0B1337.asc'
- Move the file 'install/config.sample.php' to 'src/config.php'.
- Run ./composer.phar update
Testing
$ phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
License
GNU GENERAL PUBLIC LICENSE Version 3. Please see License File for more information.