[ic] Dreaded public key cannot be found

Brock Hargett interchange-users@icdevgroup.org
Mon Dec 30 14:11:00 2002


Thanks, you were right. I imported the key into the interchange user,
then I changed the PGP_KEY into the key number instead of the email and
removed the value under PGP and ENCRYPTOR so they are both blank. Now,
when the credit card is imput I get broken pipe errors. The logs
themselves are blank however. Any ideas what I did wrong now?

-----Original Message-----
From: interchange-users-admin@icdevgroup.org
[mailto:interchange-users-admin@icdevgroup.org] On Behalf Of James P.
Kinney III
Sent: Sunday, December 29, 2002 6:56 PM
To: Interchange development group
Subject: Re: [ic] Dreaded public key cannot be found


On Sun, 2002-12-29 at 18:31, Brock Hargett wrote:
> Ok, I know this is a familiar problem, but I can't seem to get this to

> work. Here's what I did:
> 
> Created my key, then tested by using: echo "testing" | /usr/bin/gpg 
> --no-default-keyring --always-trust --keyring 
> /home/aragon12/.gnupg/pubring.gpg -e -a --batch -t -r 'authora.net'  
> all worked fine up to this point. I then set my encryption info:
> ENCRYPTOR
> PGP    /usr/bin/gpg --no-default-keyring --always-trust --keyring
> /home/aragon12/.gnupg/pubring.gpg -e -a --batch -t -r '%s'
> PGP_CC_KEY    orders@authora.net
> PGP_KEY            orders@authora.net
> 
> Then, I went into catalog.cfg and set:
> 
> EncryptProgram __PGP__
> EncyptKey __PGP_KEY__
> 
> Then in route main I set:
> 
> credit_card    1
> encrypt        1
> encrypt_program    "__PGP__"
> email        '__ORDERS_TO__'
> pgp_cc_key    "__PGP_CC_KEY__"
> pgp_key    "__PGP_KEY__"
> 
> Yet, I still get the error on public key cannot be found when trying 
> to place an order. Did I miss a step here or what? I've been pouring 
> over the mailing list all afternoon, but can't seem to figure it out. 
> Thanks in advance.
> 
Hmm. What I don't see is where you su'ed to the user name of interchange
and imported the key into the keyring of the interchange user. Then you
still need to identify the key to use in the variables.txt file. A line
like:

ENCRYPTOR       0xAE0E0F44      Encryption

tells which key to use to encrypt with. You will need to restart IC
after this change. It will also require a database rebuild of the
variable.gdbm file.

You can also add the encryptor directly using the admin UI in IC itself.
Select the Administration->tables and at the bottom, select "variables".
Be sure to "apply changes" when done.

> 
> _______________________________________________
> interchange-users mailing list interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
-- 
James P. Kinney III   \Changing the mobile computing world/
President and CEO      \          one Linux user         /
Local Net Solutions,LLC \           at a time.          /
770-493-8244             \.___________________________./

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney@localnetsolutions.com> Fingerprint = 3C9E 6366 54FC A3FE BA4D
0659 6190 ADC3 829C 6CA7 



_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users