FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=15906&edit=1

ID: 15906
Comment by: cfallen
Reported By: allen at crystalfontz dot com
Summary: Old versions of GnuPG don't work
Status: Assigned
Type: Bug
Package: Crypt_GPG
Operating System: unknown unix
PHP Version: 5.2.8
Assigned To: gauthierm
New Comment:
$gpg->addEncryptKey('$to');
the TO variable is not interpolated inside single quotes. That means
GPG never receives the correct email address with which to fetch the
correct keys. That may be why your script fails.


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

[2009-02-18 13:44:29] gauthierm

<div id="changeset">
<span class="removed">-Assigned To:</span>
<span class="added">+Assigned To: gauthierm</span>
</div>

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

[2009-02-18 13:44:20] gauthierm

<div id="changeset">
<span class="removed">-Summary: Uknown error getting keys</span>
<span class="added">+Summary: Old versions of GnuPG don&#039;t
work</span>
</div>

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

[2009-02-17 15:17:27] gauthierm

Thanks!

From the debug output you've linked to in this report, it looks like
your version of GnuPG doesn't have the --no-agent option, and this is
what's causing the unknown error. Given the appropriate GnuPG version, I
can test Crypt_GPG against it and fix the problem. I've only ever tested
with 1.4.x version.

I'll grab a copy of 1.0.6 and fix this when I get a chance. In the
meantime, using version 1.4.x will probably fix the problem.

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

[2009-02-17 14:53:25] reevery

Server Admins say:
"The version of GnuPG is 1.4.6."

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

[2009-02-17 14:51:54] reevery

1.0.6 - I don't have control over this but I will ask for it to be
updated.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=15906

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 22, '09 at 6:05p
activeDec 22, '09 at 6:05p
posts1
users1
websitepear.php.net

1 user in discussion

Cfallen: 1 post

People

Translate

site design / logo © 2022 Grokbase