Gnupg Help Please! Public Key Not Found

Kevin Sham kevin@code.com.au
Tue Jun 17 04:10:02 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0043_01C334C9.5DBA7F00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hello all,

I have a weird problem with my gnupg (latest release).

when I do the test echo "testing" |
/usr/bin/gpg --no-default-keyring --always-trust --keyring
/var/lib/interchange/.gnupg/pubring.gpg -e -a --batch -t -r
'accounts@code.com.au' i will get the error public key not found.
/var/lib/interchange is the home dir for the user interch.

However if i go to the directory /var/lib/interchange/.gnupg and then type:
echo "testing" | /usr/bin/gpg --no-default-keyring --always-trust --keyring
pubring.gpg -e -a --batch -t -r 'accounts@code.com.au' the test works fine.

What is causing this problem? When i go to the pubring.gpg folder and test
it works, however if i am in any other directory and specify the path the
test does not work.

Any Advice would be great!

Regards,
Kevin Sham
code&data
www.code.com.au
---------------
5/17 Mooramba Rd
Dee Why NSW 2099
Phone : +61 2 9971 3742
Fax : +61 2 9971 3743


------=_NextPart_000_0043_01C334C9.5DBA7F00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>
<DIV><SPAN class=3Dpostbody><FONT face=3DArial><FONT size=3D2>Hello all, =
<BR><BR>I=20
have a weird problem with my gnupg (latest release). <BR><BR>when I do =
the test=20
echo "testing" | /usr/bin/gpg --no-default-keyring --always-trust =
--keyring=20
/var/lib/interchange/.gnupg/pubring.gpg -e -a --batch -t -r=20
'accounts@code.com.au' i will get the error public key not found.=20
/var/lib/interchange is the home dir for the user interch. =
<BR><BR>However if i=20
go to the directory /var/lib/interchange/.gnupg and then type: echo =
"testing" |=20
/usr/bin/gpg --no-default-keyring --always-trust --keyring pubring.gpg =
-e -a=20
--batch -t -r 'accounts@code.com.au' the test works fine. <BR><BR>What =
is=20
causing this problem? When i go to the pubring.gpg folder and test it =
works,=20
however if i am in any other directory and specify the path the tes<SPAN =

class=3D670555501-17062003>t</SPAN> does not work. <BR><BR>Any Advice =
would be=20
great!&nbsp;<BR><BR><SPAN=20
class=3D670555501-17062003>Regards,</SPAN></FONT></FONT></SPAN></DIV>
<DIV>
<P><FONT face=3DArial size=3D2>Kevin Sham <BR></FONT><FONT face=3DArial=20
size=3D2>code&amp;data<BR></FONT><FONT face=3DArial size=3D2><A=20
href=3D"http://www.code.com.au/"><FONT=20
color=3D#000000>www.code.com.au</FONT></A><BR></FONT><FONT face=3DArial=20
size=3D2>---------------<BR></FONT><FONT face=3DArial size=3D2>5/17 =
Mooramba=20
Rd<BR></FONT><FONT face=3DArial size=3D2>Dee Why NSW =
2099<BR></FONT><FONT face=3DArial=20
size=3D2>Phone : +61 2 9971 3742<BR></FONT><FONT face=3DArial =
size=3D2>Fax : +61 2=20
9971 3743 </FONT></P></DIV>
<DIV>&nbsp;</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0043_01C334C9.5DBA7F00--