Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PHP Perl
Branch: master

Merge pull request #10 from pear/topics/composer-for-pear

Updated/New Composer support for Crypt_GPG
latest commit 3f24905839
@till till authored
Failed to load latest commit information.
Crypt
data
scripts
tests
tools
.gitignore
LICENSE
README.md
composer.json
package.php
package.xml

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

Something went wrong with that request. Please try again.