[PEAR-BUG] Bug #21034 [Com]: Missing agent exception thrown when checking version

[email protected] ("[email protected]") Mon, 29 Feb 2016 18:34:02 -0500 (EST)
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at https://pear.php.net/bugs/bug.php?id=21034&edit=1

 ID:               21034
 Comment by:       [email protected]
 Reported By:      shkkmo at gmail dot com
 Summary:          Missing agent exception thrown when checking version
 Status:           Open
 Type:             Bug
 Package:          Crypt_GPG
 Package Version:  1.4.0
 PHP Version:      Irrelevant
 Roadmap Versions: 
 New Comment:

Made a pull request here:
https://github.com/pear/Crypt_GPG/pull/24


Previous Comments:
------------------------------------------------------------------------

[2016-02-29 18:28:00] shkkmo

Description:
------------
When the gpg-agent binary is in a non-standard location, even if you set
the 
'agent' option correctly when constructing PGP, an exception is thrown
when 
getVersion() is called because getVersion does not correctly pass in the

'agent' option when constructing a new engine object.

See this commit:
https://github.com/shkkmo/Crypt_GPG/commit/d9cd7be3762ab18a424337c9
829215f9172a0c87

------------------------------------------------------------------------


-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=21034&edit=1