|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60916 Need to force gpg path (when gpg2 is the default)
Submitted: 2012-01-28 09:56 UTC Modified: 2012-01-29 02:43 UTC
From: fedora at famillecollet dot com Assigned: rasmus (profile)
Status: Closed Package: gnupg (PECL)
PHP Version: 5.4.0RC6 OS: GNU/Linux (Fedora 16)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
18 + 13 = ?
Subscribe to this entry?

 [2012-01-28 09:56 UTC] fedora at famillecollet dot com
If gpgme is build to use gpg2 as the default, this extension can't run.

So, we need a way to force the configuration to use gpg v1 instead.

The attached patch, which could be improved by add an option to configure, allow to define GNUPG_PATH at build time (-DGNUPG_PATH='\"/usr/bin/gpg\"')

Tested on fedora 11 to 16 and RHEL-5, all tests succed.


gnupg-gpg1.patch (last revision 2012-01-28 09:56 UTC by fedora at famillecollet dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-01-29 02:42 UTC]
Automatic comment from SVN on behalf of rasmus
Log: Fix bug #60916
 [2012-01-29 02:43 UTC]
Fixed in subversion, thanks.

You should apply for a account so you can commit these yourself.
Go to and fill in the little form there.
 [2012-01-29 02:43 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: rasmus
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Jul 25 04:01:23 2021 UTC