Skip to content
OpenPGP.php is a pure-PHP implementation of the OpenPGP Message Format (RFC 4880).
PHP
Find file
Pull request Compare This branch is 113 commits ahead, 23 commits behind bendiken:master.
Latest commit cefaef2 @singpolyma Update normalise and example for clearsigning
Trailing whitespace must be removed when generating the signature and
must not be included in output.

README.md

OpenPGP.php: OpenPGP for PHP

This is a pure-PHP implementation of the OpenPGP Message Format (RFC 4880).

About OpenPGP

OpenPGP is the most widely-used e-mail encryption standard in the world. It is defined by the OpenPGP Working Group of the Internet Engineering Task Force (IETF) Proposed Standard RFC 4880. The OpenPGP standard was originally derived from PGP (Pretty Good Privacy), first created by Phil Zimmermann in 1991.

Features

  • Encodes and decodes ASCII-armored OpenPGP messages.
  • Parses OpenPGP messages into their constituent packets.
    • Supports both old-format (PGP 2.6.x) and new-format (RFC 4880) packets.
  • Helper class for verifying, signing, encrypting, and decrypting messages using Crypt_RSA from http://phpseclib.sourceforge.net
  • Helper class for encrypting and decrypting messages and keys using Crypt_AES and Crypt_TripleDES from http://phpseclib.sourceforge.net

Users

OpenPGP.php is currently being used in the following projects:

Download

To get a local working copy of the development repository, do:

% git clone git://github.com/bendiken/openpgp-php.git

Alternatively, you can download the latest development version as a tarball as follows:

% wget http://github.com/bendiken/openpgp-php/tarball/master

Authors

License

OpenPGP.php is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.

Something went wrong with that request. Please try again.