[ic] GPG troubles

Leon Harris interchange-users@interchange.redhat.com
Tue Sep 25 13:26:00 2001


Thanks.
This is a massive help.

interchange calls my gpg with the args I gave it, and uses the correct key.
Key is unsigned. looking into self-signing now.

thx,
Leon



Ron Phipps wrote:

> > From: interchange-users-admin@interchange.redhat.com
> [mailto:interchange-
> > users-admin@interchange.redhat.com] On Behalf Of Leon Harris
> >
> > Hi. I have had a look on the list, and can't get this to work.
> > I am trying to use gpg to encrypt a credit card, mailed to a sales
> > account.
> >
> > I get this error in my error logs:
> >
> > /process.html PGP failed with status 131072:
> >
>
> Find Order.pm located at VEND_ROOT/lib/Vend/ and save a copy of it.
> Edit Order.pm and remove the '#' in front of each ::logdebug line that
> has to do with pgp (search for pgp).  Edit interchange.cfg and set DEBUG
> to 1 and restart.  Run an order and then look at /tmp/icdebug to see the
> call to gpg.  Copy the cmd that is being ran and run it while you are
> logged in as the user that runs interchange and see what response you
> get.  It's most likely a missing key, the key hasn't been signed or
> something of that nature.  Once you are done fixing gpg comment out
> DEBUG in interchange.cfg, copy the back up of Order.pm over your edited
> version and restart IC to revert back to the original file.
>
> Good luck,
> -Ron
>
> >
> >  I have set the encrypt program to gpg in the catalog.cfg :
> >
> > /usr/bin/gpg -ea --keyring /home/halfpcab/.gnupg/keyring.pub
> > --always-trust -r orders@halfpricecables.com 2>/dev/null
> >
> > I put the redirect /dev/null at the end because i thought " wild and
> > wacky error 131072 - woohoo that looks like it is not getting
> something
> > it likes on stderr"
> >
> >
> > I set ENCRYPTOR to the same in variables,  and I set PGP_KEY to the
> > correct keyring.pub.
> >
> >
> > Ideas ?
> > where to look next ?
> > where is process.html generated from so I can put some debugging tags
> > into it .
> >
> > Any help appreciated.
> > Cheers,
> > leon
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users