From:  pear-qa@lists.php.net ("shkkmo@gmail.com")
Date:  01 Mar 2016 07:34:02 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

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

NNTP-Posting-Host:  null

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

 ID:               21034
 Comment by:       shkkmo@gmail.com
 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