[ic] PGP Error

Mike Heins interchange-users@icdevgroup.org
Tue Dec 24 15:39:00 2002


Quoting Henry Ho (henryvho@yahoo.com):
> Hi,
> 
> I'm stuble with setting up the PGP encryption for
> Interchange.
> 
> 1.  I imported the key.
> 2.  I modified catalog.cfg file 
>     EncryptKey 5C2A3E36
> 3.  Restarted the server.
> 4.  echo test | /usr/bin/gpg --always-trust -e -a -r
> 'sales@mysite.com'
> gpg: Warning: using insecure memory!
> gpg: sales@mysite.com: skipped: public key not found
> gpg: [stdin]: encryption failed: public key not found
> 

Just to make apples to apples you should do:

     echo test | /usr/bin/gpg --always-trust -e -a -r 5C2A3E36

If that doesn't work, I suspect your procedure for step 1 was wrong.
You should do 

	gpg --list-keys

and see what you get.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <mike@perusion.com>

Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer