2017 © Pedro Peláez
 

library pgpmailer

PGP Mailer

image

webguerilla/pgpmailer

PGP Mailer

  • Saturday, March 21, 2015
  • by webguerilla
  • Repository
  • 1 Watchers
  • 3 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 5 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

pgpmailer

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., (*1)

Requirements

  • PHP 5
  • GnuPG
  • composer

Install

Via Composer, (*2)

``` json { "require": { "webguerilla/pgpmailer": "~1.0" } }, (*3)


## Usage pgpmailer requires having a PGP key and exporting an ASCII-armored public key. 1. Copy an ASCII-armored public key to 'public/assets/' For example: 'public/assets/0xBADB0B1337.asc'. 2. Modify the config file in 'install/config.sample.php' where it says $publicKeyFilepath. For example: $publicKeyFilepath = PATH_PUBLIC . '/assets/0xBADB0B1337.asc' 4. Move the file 'install/config.sample.php' to 'src/config.php'. 3. Run ./composer.phar update ## Testing ``` bash $ phpunit

Contributing

Please see CONTRIBUTING for details., (*4)

Credits

License

GNU GENERAL PUBLIC LICENSE Version 3. Please see License File for more information., (*5)

The Versions