You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robin Thoni 6486178dfa updated postgres docker; updated rounecube to 1.3.6 6 years ago
..
Crypt updated postgres docker; updated rounecube to 1.3.6 6 years ago
data updated postgres docker; updated rounecube to 1.3.6 6 years ago
scripts updated postgres docker; updated rounecube to 1.3.6 6 years ago
LICENSE updated postgres docker; updated rounecube to 1.3.6 6 years ago
README.md updated postgres docker; updated rounecube to 1.3.6 6 years ago
composer.json updated postgres docker; updated rounecube to 1.3.6 6 years ago
package.php updated postgres docker; updated rounecube to 1.3.6 6 years ago
package.xml updated postgres docker; updated rounecube to 1.3.6 6 years ago

README.md

Crypt_GPG

Crypt_GPG is a PHP package to interact with the GNU Privacy Guard (GnuPG). GnuPG is a free and open-source implementation of the OpenPGP protocol, providing key management, data encryption and data signing. Crypt_GPG provides an object-oriented API for performing OpenPGP actions using GnuPG.

Crypt_GPG has been migrated from PEAR SVN.

Documentation

Quick Example

<?php

require_once 'Crypt/GPG.php';

$gpg = new Crypt_GPG();
$gpg->addEncryptKey('test@example.com');
$data = $gpg->encrypt('my secret data');

?>

Further Documentation

Bugs and Issues

Please report all new issues via the PEAR bug tracker.

Please submit pull requests for your bug reports!

Testing

To test, run either $ phpunit tests/ or $ pear run-tests -r

Building

To build, simply $ pear package

Installing

To install from scratch $ pear install package.xml

To upgrade $ pear upgrade -f package.xml