[ic] GPG Encryption

Dane Morgan interchange-users@interchange.redhat.com
Thu May 30 12:52:00 2002


John,

GPG is an open source "PGP" program in use on my server.

I have resolved this issue. turns out that the whole problem was with file
permissions. My resolution was to move the keyrings to where I had control
and pass a new GNUPGHOME variable with the call to GPG. Any issues I may
need to be aware of regarding that?

----- Original Message -----
From: "John" <John@sunshak.com>
To: <interchange-users@interchange.redhat.com>
Sent: Thursday, May 30, 2002 12:20 AM
Subject: Re: [ic] GPG Encryption


> Kind of a newbie to all this but noticed you kept typing GPG instead of
> PGP could be problem?
> On Thursday, May 30, 2002, at 01:27  PM, AirDelights.com wrote:
>
> > see if this helps
> > http://interchangeville.com/forum/viewthread.php?tid=8
> >
> >
> > ----- Original Message -----
> > From: "Dane Morgan" <danemorgan@earthlink.net>
> > To: <interchange-users@interchange.redhat.com>
> > Sent: Wednesday, May 29, 2002 8:24 AM
> > Subject: [ic] GPG Encryption
> >
> >
> >> I have scoured the archives of this list and still can not get this
> >> thing
> >> going.
> >>
> >> Her is the error I am getting
> >> gpg: Warning: using insecure memory!
> >> gpg: /home/cpanel/.gnupg/secring.gpg: can't create keyring: Permission
> >> denied
> >> gpg: keyblock resource `/home/cpanel/.gnupg/secring.gpg': file open
> >> error
> >> gpg: /home/camohut/.gnupg/pubring.gpg: can't create keyring: Permission
> >> denied
> >> gpg: keyblock resource `/home/camohut/.gnupg/pubring.gpg': file open
> >> error
> >> gpg: orders@camohut.com: skipped: public key not found
> >> gpg: [stdin]: encryption failed: public key not found
> >>
> >> Here is how I am set up.
> >>
> >> in catalog.cfg
> >>
> >> #CreditCardAuto     Yes
> >> EncryptProgram   __ENCRYPTOR__
> >> EncryptKey       __PGP_KEY__
> >>
> >> Route main  <<EOF
> >>         attach            0
> >>         credit_card       1
> >>         default           1
> >>         email             '__ORDERS_TO__'
> >>         encrypt           0
> >>         errors_to         '__ORDERS_TO__'
> >>         pgp_cc_key        "__PGP_KEY__"
> >>         pgp_key           "__PGP_KEY__"
> >>         receipt           etc/receipt.html
> >>         report            etc/report
> >>         supplant          1
> >>         individual_track  orders
> >>         track             logs/tracking.asc
> >> EOF
> >>
> >> In variables
> >> ENCRYPTOR
> >         /usr/bin/gpg --no-default-keyring --always-trust --keyring
> >> /home/camohut/.gnupg/pubring.gpg -e -a --batch -t -r '%s'
> >> PGP_CC_KEY      orders@camohut.com
> >> PGP_KEY             orders@camohut.com
> >> ORDERS_TO        orders@camohut.com
> >>
> >>
> >> I used the following command in SSH
> >>
> >> Do I need to ask my host to change the permissions on the pubring.gpg
> > file?
> >> is this a security issue if I do? Any info, sugestions pointers for
> >> where
> > to
> >> head next are appreciated.
> >>
> >> A second issue is that when I turn on CreditCardAuto i get the error
> >> that
> > IC
> >> can not determing the expiration date.
> >>
> >> Thanks,
> >> Dane Morgan
> >> camohut.com
> >>
> >> _______________________________________________
> >> 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
> >
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users