6.0.0-beta6
3/31/26

[#14083] Problem decode encrypted PGP messages
Summary Problem decode encrypted PGP messages
Queue Horde Framework Packages
Type Bug
State Not A Bug
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester klaus (at) tachtler (dot) net
Created 8/11/15 (3885 days ago)
Due
Updated 8/13/15 (3883 days ago)
Assigned
Resolved 8/11/15 (3885 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/13/2015 02:38:12 PM Michael Rubinsky Comment #5 Reply to this comment
when I use PGP 5.4.x, available via CentOS 6.7 SCL Repository, could 
this be solve the problem, or is there the same bug like in PHP 5.3.x?
I assume you mean PHP 5.4.x. The issue is reportedly fixed in 5.4, so 
that *should* solve this issue.
08/13/2015 06:40:10 AM klaus (at) tachtler (dot) net Comment #4 Reply to this comment
Hi,
There is a bug in PHP 5.3.x that prevents the use of 
private/protected methods from `$this` (or any reference to it), 
inside of closures. You need to update your (old) PHP installation 
to something more recent.
when I use PGP 5.4.x, available via CentOS 6.7 SCL Repository, could 
this be solve the problem, or is there the same bug like in PHP 5.3.x?

Thank you!
08/11/2015 07:38:17 PM klaus (at) tachtler (dot) net Comment #3 Reply to this comment
Hi,
There is a bug in PHP 5.3.x that prevents the use of 
private/protected methods from `$this` (or any reference to it), 
inside of closures. You need to update your (old) PHP installation 
to something more recent.
Thank you for that explanation to my problem.

PHP 5.3.3 is the standard under CentOS 6.7, wich was released a few 
days before.

So, I will see, what I can do...

Thank you!
08/11/2015 02:38:46 PM Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
Priority ⇒ 1. Low
State ⇒ Not A Bug
Reply to this comment
There is a bug in PHP 5.3.x that prevents the use of private/protected 
methods from `$this` (or any reference to it), inside of closures. You 
need to update your (old) PHP installation to something more recent.
08/11/2015 08:35:20 AM klaus (at) tachtler (dot) net Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Problem decode encrypted PGP messages
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hi,

since upgrade to Horde 5.2.7 an error occurred while decode an 
encrypted PGP message. Error:

PHP Fatal error:  Call to protected method 
Horde_Crypt_Pgp_Backend_Binary::_callGpg() from context '' in 
/usr/share/pear/Horde/Crypt/Pgp/Backend/Binary.php on line 155, 
referer: https://.../imp/dynamic.php?page=mailbox

My system: CentOS 6.7, PHP 5.3.3, Horde_Crypt-2.6.0.tgz

Thank you!

Saved Queries