Closed (fixed)
Project:
GnuPG
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Mar 2009 at 16:02 UTC
Updated:
3 Jan 2014 at 00:07 UTC
Jump to comment: Most recent
This module contains a couple of functions that conflict with the GNUPG PECL extension (http://pecl.php.net/package/gnupg). These are the conflicting functions:
gnupg_encrypt
gnupg_decrypt
Attempting to install this module when the GNUPG PECL extension is already installed will result in a fatal error (cannot redeclare gnupg_encrypt) and break Drupal completely.
Renaming these two functions would make this a non-issue. At the very least it would be good to make a note of the conflict in the INSTALL.txt and/or README.txt file(s).
This is more of an FYI than anything. Removing the GNUPG PECL extension solves the problem for me.
Comments
Comment #1
Arto commentedThanks for the note, Adam.
I have actually been considering renaming this project to OpenPGP, as it could conceivably provide the current functionality using several methods (the current command-line "gpg" support, the PECL extension, and the OpenSSL functions which should almost always be available).
This conflict may hasten the decision :-)
Comment #2
Arto commentedNow that the first release of the more generic OpenPGP module is available, this module is deprecated.
I'm closing this particular issue out as "fixed" since the new module does not have this conflict with the PECL extension (the corresponding functions now being named
openpgp_encrypt()andopenpgp_decrypt()).