PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Encryption » Crypt_GPG

GNU Privacy Guard (GnuPG)

Download latest release 1.6.11 (there is a newer Composer installable version)

License: LGPL

Description

This package provides an object oriented interface to GNU Privacy Guard (GnuPG). It requires the GnuPG executable to be on the system.

Though GnuPG can support symmetric-key cryptography, this package is intended only to facilitate public-key cryptography.

This package requires PHP version 5.4.8 or greater.

Documentation

Manual

Maintainers

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#12892BogusReqCVS2008-01-12Option to set home dir
#13586ClosedReq0.5.02008-04-04Being able to encrypt a file by passing a filename
#13596ClosedBugCVS2008-04-04Unit tests fail comparing GPG key blocks on different systems
#13806ClosedBugCVS2008-04-30Support encryption of large strings
#13807Wont fixBugCVS2008-04-30Binary encryption on Windows
#13808ClosedReqCVS2008-04-30Support multiple recipients
#13823ClosedReqCVS2008-05-02Create an AllTests.php
#13910ClosedBug0.6.02008-05-16examples missing
#14645ClosedDoc0.6.02008-09-13Document how to specify a homedir (prevent Uncaught Exceptions)
#14878BogusBugCVS2008-10-26Unit tests should skip if < 5.2.1
#15054ClosedDoc1.0.0RC12008-11-17small error in documentation
#15470ClosedBug1.0.0RC12008-12-31Improved key finding
#15593ClosedBug1.0.0RC12009-01-09GPG::decrypt always throws exception
#15906ClosedBug2009-02-17Old versions of GnuPG don't work
#15907BogusBug2009-02-17Unknown error getting keys
#16167ClosedDoc1.0.02009-05-01not working example in documentation
#16269BogusDoc1.0.02009-05-28Dual Encrypt dont work
#16367BogusDoc1.0.02009-06-22signFile - Problem with documentation
#16368Wont fixReq1.0.02009-06-23proc_open() not supported
#17004ClosedReqCVS2010-01-17Add ability to encrypt and sign in one command as well as decrypt and verify
#17005ClosedReqCVS2010-01-17Add ability to specify keyring files manually
#17006ClosedReqCVS2010-01-17Add support for --textmode option of GnuPG
#17174ClosedBug1.0.02010-03-01Verifying bad signatures causes unknown exception
#17380ClosedBug1.1.02010-05-07Specifying Trust DB Breaks Module
#17512ClosedBug1.1.12010-06-22addDecryptKey
#17628ClosedBug1.1.12010-07-23Uncaught exception
#17759ClosedBug1.1.12010-08-20LC_ALL=C need to be set
#17760ClosedBug1.1.12010-08-20Newer GnuPG responses not supported
#17761BogusBug1.1.12010-08-20--with-fingerprint argument added twice
#17762ClosedBug1.1.12010-08-20--no-use-agent is deprecated and prints warning
#17808ClosedReqSVN2010-08-24Key ID in signature object
#17814ClosedBugSVN2010-08-25isRevoked flag not set
#17815ClosedBugSVN2010-08-25Wrong result of importing key(s)
#17816OpenReqSVN2010-08-25Return complete IMPORT_RES status from import function
#17817ClosedBugSVN2010-08-25File permissions error not handled when listing public keys
#17820ClosedBugSVN2010-08-26REVKEYSIG response is not handled by VerifyStatusHandler
#17821ClosedReqSVN2010-08-26Possible inconsistence in key ID handling
#17822ClosedBugSVN2010-08-26Missing keyId in KeyNotFoundException for decryption/verify process
#17838ClosedBugSVN2010-09-02Operations with passphrase doesn't work with GnuPG 2.x
#18257BogusDoc1.2.02011-02-09Better documentation needed for setting up a secure keychain used by apache
#18526DuplicateBug1.2.02011-05-11Hang on file decryption
#18618ClosedBugSVN2011-06-20Incorrect CHUNK_SIZE
#18869ClosedReq1.3.02011-09-23pear/Crypt_GPG requires PHP extension "posix"
#18963ClosedBugSVN2011-11-06Tests fail on CI server
#18992ClosedBugSVN2011-11-14remove error_reporting (for PEAR QA team)
#19751ClosedBug1.3.22012-12-16Fatal error: Uncaught ... in /usr/local/lib/php/Crypt/GPG.php on line 1719
#19833ClosedBug1.3.22013-02-24If gnupg folder is not accessible for write, "unknown error" exception is throw
#19914ClosedBug1.4.0b42013-04-27PinEntry can't find Console_CommandLine
#19925ClosedBug1.4.0b42013-04-30missing agent complaint even if gpg version < 2.0
#20453ClosedBug1.3.22014-11-28crypt_gpg stops working after gnupg upgrade
#20512ClosedBug1.4.0b42015-03-07Debug should use htmlspecialchars()
#20527ClosedBug1.4.0b42015-04-07Composer: @package-name@ in PinEntry.php is not resolved
#20939ClosedReqSVN2015-08-19Retrieve info if encryption or signing keys have been added
#20940ClosedReqSVN2015-08-20Determine algorithm used in signature
#21014ClosedBug1.4.02016-01-07Signing is broken for gnupg 2.0.28 / sry: double-post
#21015ClosedBug1.4.02016-01-07Signing is broken for gnupg 2.0.28 / sry: double-post
#21016ClosedBug1.4.02016-01-07Signing is broken for gnupg 2.0.28
#21034ClosedBug1.4.02016-02-29Missing agent exception thrown when checking version
#21040No FeedbackBug1.4.02016-03-14ERROR: gpg: problem with the agent: No pinentry
#21074ClosedBug1.4.12016-06-03crypt-gpg-pinentry fails on system without PEAR/Exception
#21075ClosedBug1.4.12016-06-04Fatal error: Object of class Crypt_GPG_Key could not be converted
#21076ClosedBug1.4.12016-06-04No way to import public keys into keyring
#21077ClosedReq1.4.12016-06-07Increase Crypt_GPG_Engine::CHUNK_SIZE
#21079ClosedReq1.4.12016-06-13Implement exportPrivateKey()
#21080Wont fixBug1.4.12016-06-14MBString functions are extremally slow
#21081ClosedBug1.4.12016-06-14Fix performance bottlenecks in pipes handling
#21083Wont fixBug1.4.12016-06-17Useless gpg-agent initialization
#21084OpenReq1.4.12016-06-19Redundant --list-keys when deleting/exporting a key
#21119ClosedBug1.4.22016-09-23Bug in parsing user identifier
#21121ClosedBug1.4.22016-10-05Searching keys with pattern containing unicode chars
#21148ClosedBug1.6.0b12016-11-13Throw bad-passphrase exception instead of key-not-found exception
#21149BogusBug1.6.0b12016-11-13Wrong key ID in BadPassphrase exception on private key export
#21151ClosedBug1.6.0b22016-12-02GPG-AGENT process is not automatically closed when using GnuPG 2.0
#21152ClosedBug1.6.0b22016-12-03Ignore time conflicts
#21181DuplicateBug1.6.0b32017-02-12Uncaught Crypt_GPG_Exception: Unknown error getting GnuPG version information
#21182ClosedBug1.6.0b32017-02-12Uncaught Crypt_GPG_Exception: Unknown error getting GnuPG version information
#21202OpenBug1.6.02017-04-26is_executable doesn't work on Windows
#21207BogusReq1.6.02017-05-01gpg --list-only
#21220BogusBug1.6.02017-06-21Crypt_GPG_KeyNotFoundException
#21237ClosedBug1.6.02017-08-23Use --skip-verify when decrypting using decrypt() method
#21240FeedbackBug1.6.22017-09-04Test failure with PHP 7.2.0RC1
#21242ClosedBug1.6.22017-09-13PHPUnit tests fail sometimes while deleting S.gpg-agent.extra.
#23745ClosedBug1.6.22018-04-24Incompatible with phpunit > 6.0
#27013OpenBug1.6.52021-03-17Test failure with GnuPG 2.2.27