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
Maintainers
- Mike Gauthier (gauthierm) — lead, active
- Nathan Fredrickson (nrf) — lead, active
- Aleksander Machniak (alec) — lead, active
Dependencies
Required
- PHP (>= 5.4.8)
- PEAR Installer (>= 1.4.0)
- Console_CommandLine (>= 1.1.10)
- mbstring (extension)
- windows (os)
Optional
- posix (extension)
Releases
- 1.6.11 (stable, 2025-05-22)
Release notes
License: LGPL
Validate gpgconf binary on object destruction [alec]
- 1.6.10 (stable, 2025-04-06)
- 1.6.9 (stable, 2024-03-23)
- 1.6.8 (stable, 2023-11-23)
- 1.6.7 (stable, 2022-02-16)
- 1.6.6 (stable, 2021-09-05)
- 1.6.5 (stable, 2021-03-16)
- 1.6.4 (stable, 2020-03-22)
- 1.6.3 (stable, 2018-06-04)
- 1.6.2 (stable, 2017-09-03)
- 1.6.1 (stable, 2017-08-27)
- 1.6.0 (stable, 2017-02-26)
- 1.6.0b3 (beta, 2016-12-06)
- 1.6.0b2 (beta, 2016-11-25)
- 1.6.0b1 (beta, 2016-10-29)
- 1.4.3 (stable, 2016-10-07)
- 1.4.2 (stable, 2016-06-19)
- 1.4.1 (stable, 2016-04-17)
- 1.4.0 (stable, 2015-10-16)
- 1.4.0b4 (beta, 2013-03-13)
- 1.4.0b3 (beta, 2013-03-01)
- 1.4.0b2 (beta, 2013-03-01)
- 1.4.0b1 (beta, 2013-02-28)
- 1.3.2 (stable, 2011-09-26)
- 1.3.1 (stable, 2011-09-26)
- 1.3.0 (stable, 2011-09-19)
- 1.2.0 (stable, 2010-11-17)
- 1.1.1 (stable, 2010-05-07)
- 1.1.0 (stable, 2010-03-01)
- 1.0.0 (stable, 2009-01-22)
- 1.0.0RC1 (beta, 2008-11-17)
- 0.7.1 (beta, 2008-09-23)
- 0.7.0 (beta, 2008-09-23)
- 0.6.0 (beta, 2008-04-05)
- 0.5.0 (beta, 2008-03-02)
- 0.4.0 (beta, 2008-01-28)
- 0.3.11 (alpha, 2008-01-18)
- 0.3.10 (alpha, 2008-01-14)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #12892 | Bogus | Req | CVS | 2008-01-12 | Option to set home dir |
| #13586 | Closed | Req | 0.5.0 | 2008-04-04 | Being able to encrypt a file by passing a filename |
| #13596 | Closed | Bug | CVS | 2008-04-04 | Unit tests fail comparing GPG key blocks on different systems |
| #13806 | Closed | Bug | CVS | 2008-04-30 | Support encryption of large strings |
| #13807 | Wont fix | Bug | CVS | 2008-04-30 | Binary encryption on Windows |
| #13808 | Closed | Req | CVS | 2008-04-30 | Support multiple recipients |
| #13823 | Closed | Req | CVS | 2008-05-02 | Create an AllTests.php |
| #13910 | Closed | Bug | 0.6.0 | 2008-05-16 | examples missing |
| #14645 | Closed | Doc | 0.6.0 | 2008-09-13 | Document how to specify a homedir (prevent Uncaught Exceptions) |
| #14878 | Bogus | Bug | CVS | 2008-10-26 | Unit tests should skip if < 5.2.1 |
| #15054 | Closed | Doc | 1.0.0RC1 | 2008-11-17 | small error in documentation |
| #15470 | Closed | Bug | 1.0.0RC1 | 2008-12-31 | Improved key finding |
| #15593 | Closed | Bug | 1.0.0RC1 | 2009-01-09 | GPG::decrypt always throws exception |
| #15906 | Closed | Bug | 2009-02-17 | Old versions of GnuPG don't work | |
| #15907 | Bogus | Bug | 2009-02-17 | Unknown error getting keys | |
| #16167 | Closed | Doc | 1.0.0 | 2009-05-01 | not working example in documentation |
| #16269 | Bogus | Doc | 1.0.0 | 2009-05-28 | Dual Encrypt dont work |
| #16367 | Bogus | Doc | 1.0.0 | 2009-06-22 | signFile - Problem with documentation |
| #16368 | Wont fix | Req | 1.0.0 | 2009-06-23 | proc_open() not supported |
| #17004 | Closed | Req | CVS | 2010-01-17 | Add ability to encrypt and sign in one command as well as decrypt and verify |
| #17005 | Closed | Req | CVS | 2010-01-17 | Add ability to specify keyring files manually |
| #17006 | Closed | Req | CVS | 2010-01-17 | Add support for --textmode option of GnuPG |
| #17174 | Closed | Bug | 1.0.0 | 2010-03-01 | Verifying bad signatures causes unknown exception |
| #17380 | Closed | Bug | 1.1.0 | 2010-05-07 | Specifying Trust DB Breaks Module |
| #17512 | Closed | Bug | 1.1.1 | 2010-06-22 | addDecryptKey |
| #17628 | Closed | Bug | 1.1.1 | 2010-07-23 | Uncaught exception |
| #17759 | Closed | Bug | 1.1.1 | 2010-08-20 | LC_ALL=C need to be set |
| #17760 | Closed | Bug | 1.1.1 | 2010-08-20 | Newer GnuPG responses not supported |
| #17761 | Bogus | Bug | 1.1.1 | 2010-08-20 | --with-fingerprint argument added twice |
| #17762 | Closed | Bug | 1.1.1 | 2010-08-20 | --no-use-agent is deprecated and prints warning |
| #17808 | Closed | Req | SVN | 2010-08-24 | Key ID in signature object |
| #17814 | Closed | Bug | SVN | 2010-08-25 | isRevoked flag not set |
| #17815 | Closed | Bug | SVN | 2010-08-25 | Wrong result of importing key(s) |
| #17816 | Open | Req | SVN | 2010-08-25 | Return complete IMPORT_RES status from import function |
| #17817 | Closed | Bug | SVN | 2010-08-25 | File permissions error not handled when listing public keys |
| #17820 | Closed | Bug | SVN | 2010-08-26 | REVKEYSIG response is not handled by VerifyStatusHandler |
| #17821 | Closed | Req | SVN | 2010-08-26 | Possible inconsistence in key ID handling |
| #17822 | Closed | Bug | SVN | 2010-08-26 | Missing keyId in KeyNotFoundException for decryption/verify process |
| #17838 | Closed | Bug | SVN | 2010-09-02 | Operations with passphrase doesn't work with GnuPG 2.x |
| #18257 | Bogus | Doc | 1.2.0 | 2011-02-09 | Better documentation needed for setting up a secure keychain used by apache |
| #18526 | Duplicate | Bug | 1.2.0 | 2011-05-11 | Hang on file decryption |
| #18618 | Closed | Bug | SVN | 2011-06-20 | Incorrect CHUNK_SIZE |
| #18869 | Closed | Req | 1.3.0 | 2011-09-23 | pear/Crypt_GPG requires PHP extension "posix" |
| #18963 | Closed | Bug | SVN | 2011-11-06 | Tests fail on CI server |
| #18992 | Closed | Bug | SVN | 2011-11-14 | remove error_reporting (for PEAR QA team) |
| #19751 | Closed | Bug | 1.3.2 | 2012-12-16 | Fatal error: Uncaught ... in /usr/local/lib/php/Crypt/GPG.php on line 1719 |
| #19833 | Closed | Bug | 1.3.2 | 2013-02-24 | If gnupg folder is not accessible for write, "unknown error" exception is throw |
| #19914 | Closed | Bug | 1.4.0b4 | 2013-04-27 | PinEntry can't find Console_CommandLine |
| #19925 | Closed | Bug | 1.4.0b4 | 2013-04-30 | missing agent complaint even if gpg version < 2.0 |
| #20453 | Closed | Bug | 1.3.2 | 2014-11-28 | crypt_gpg stops working after gnupg upgrade |
| #20512 | Closed | Bug | 1.4.0b4 | 2015-03-07 | Debug should use htmlspecialchars() |
| #20527 | Closed | Bug | 1.4.0b4 | 2015-04-07 | Composer: @package-name@ in PinEntry.php is not resolved |
| #20939 | Closed | Req | SVN | 2015-08-19 | Retrieve info if encryption or signing keys have been added |
| #20940 | Closed | Req | SVN | 2015-08-20 | Determine algorithm used in signature |
| #21014 | Closed | Bug | 1.4.0 | 2016-01-07 | Signing is broken for gnupg 2.0.28 / sry: double-post |
| #21015 | Closed | Bug | 1.4.0 | 2016-01-07 | Signing is broken for gnupg 2.0.28 / sry: double-post |
| #21016 | Closed | Bug | 1.4.0 | 2016-01-07 | Signing is broken for gnupg 2.0.28 |
| #21034 | Closed | Bug | 1.4.0 | 2016-02-29 | Missing agent exception thrown when checking version |
| #21040 | No Feedback | Bug | 1.4.0 | 2016-03-14 | ERROR: gpg: problem with the agent: No pinentry |
| #21074 | Closed | Bug | 1.4.1 | 2016-06-03 | crypt-gpg-pinentry fails on system without PEAR/Exception |
| #21075 | Closed | Bug | 1.4.1 | 2016-06-04 | Fatal error: Object of class Crypt_GPG_Key could not be converted |
| #21076 | Closed | Bug | 1.4.1 | 2016-06-04 | No way to import public keys into keyring |
| #21077 | Closed | Req | 1.4.1 | 2016-06-07 | Increase Crypt_GPG_Engine::CHUNK_SIZE |
| #21079 | Closed | Req | 1.4.1 | 2016-06-13 | Implement exportPrivateKey() |
| #21080 | Wont fix | Bug | 1.4.1 | 2016-06-14 | MBString functions are extremally slow |
| #21081 | Closed | Bug | 1.4.1 | 2016-06-14 | Fix performance bottlenecks in pipes handling |
| #21083 | Wont fix | Bug | 1.4.1 | 2016-06-17 | Useless gpg-agent initialization |
| #21084 | Open | Req | 1.4.1 | 2016-06-19 | Redundant --list-keys when deleting/exporting a key |
| #21119 | Closed | Bug | 1.4.2 | 2016-09-23 | Bug in parsing user identifier |
| #21121 | Closed | Bug | 1.4.2 | 2016-10-05 | Searching keys with pattern containing unicode chars |
| #21148 | Closed | Bug | 1.6.0b1 | 2016-11-13 | Throw bad-passphrase exception instead of key-not-found exception |
| #21149 | Bogus | Bug | 1.6.0b1 | 2016-11-13 | Wrong key ID in BadPassphrase exception on private key export |
| #21151 | Closed | Bug | 1.6.0b2 | 2016-12-02 | GPG-AGENT process is not automatically closed when using GnuPG 2.0 |
| #21152 | Closed | Bug | 1.6.0b2 | 2016-12-03 | Ignore time conflicts |
| #21181 | Duplicate | Bug | 1.6.0b3 | 2017-02-12 | Uncaught Crypt_GPG_Exception: Unknown error getting GnuPG version information |
| #21182 | Closed | Bug | 1.6.0b3 | 2017-02-12 | Uncaught Crypt_GPG_Exception: Unknown error getting GnuPG version information |
| #21202 | Open | Bug | 1.6.0 | 2017-04-26 | is_executable doesn't work on Windows |
| #21207 | Bogus | Req | 1.6.0 | 2017-05-01 | gpg --list-only |
| #21220 | Bogus | Bug | 1.6.0 | 2017-06-21 | Crypt_GPG_KeyNotFoundException |
| #21237 | Closed | Bug | 1.6.0 | 2017-08-23 | Use --skip-verify when decrypting using decrypt() method |
| #21240 | Feedback | Bug | 1.6.2 | 2017-09-04 | Test failure with PHP 7.2.0RC1 |
| #21242 | Closed | Bug | 1.6.2 | 2017-09-13 | PHPUnit tests fail sometimes while deleting S.gpg-agent.extra. |
| #23745 | Closed | Bug | 1.6.2 | 2018-04-24 | Incompatible with phpunit > 6.0 |
| #27013 | Open | Bug | 1.6.5 | 2021-03-17 | Test failure with GnuPG 2.2.27 |