[ic] Credit Card Encryption

Mangeng Michael interchange-users@interchange.redhat.com
Fri Aug 10 09:37:56 2001


at first i want to thank you ron very much for this live example.. it helped
me lot!

but i've got another question concerning cc&pgp.

actually it looks like:

---- snip ----
[interchange@shopix etc]$ cat ../tmp/pgp.7AhyYfkf.17148.err
gpg: Warning: using insecure memory!
gpg: 0xB8413DE6: skipped: public key not found
gpg: [stdin]: encryption failed: public key not found
[interchange@shopix etc]$ pgp -kv
PGP Command Line for Workstations(tm) Version 7.0.1
(c) 2000 Network Associates Inc.

Export of this software may be restricted by the U.S. government.

Warning: Using insecure memory!

Type  bits      keyID      Date       User ID
DSS   2048/1024 0xB8413DE6 2001/08/10 Interchange <interchange@vis.at>
1 matching key found.
---- / snip ----

hmmm strange... i do not know whats wrong...
im calling with
pgp -feat __ORDERS_TO__
(ORDERS_TO is mailto:interchange@vis.at  ive aded for this the public pgp
key)

in etc/report im using:
[tag    op=mime
                interpolate=1
                type=application/pgp-encrypted
                description="CreditCard_[value mv_order_number]"]
[value mv_credit_card_info]
[/tag]

with this i get something like:
visa 41 NEED ENCRYPTION 1111 1/06

in the cc info... hmmm
maybe another report example would help ;-)

thanx, mike
----- Original Message -----
From: Ron Phipps
To: interchange-users@interchange.redhat.com
Sent: Thursday, August 09, 2001 9:11 PM
Subject: RE: [ic] Credit Card Encyption


Here is the relevant info from a catalog that is working in live mode
right now.  ENCRYPTOR is defined as:
/usr/bin/pgp_shell.sh -fate __ORDERS_TO__ 2>/dev/null
in my variables table.  The contents of my pgp wrapper named
'pgp_shell.sh' is:
PGPPATH=/home/minivend/.pgp; export PGPPATH
/usr/bin/pgp $1 $2 $3 $4 $5 $6 $7
And the route in catalog.cfg:
Route main        attach           0
Route main        credit_card      0
Route main        cybermode        ""
Route main        default          1
Route main        email            '__ORDERS_TO__'
Route main        encrypt          0
Route main        encrypt_program  '__ENCRYPTOR__'
Route main        errors_to        '__ORDERS_TO__'
Route main        increment        0
Route main        pgp_cc_key       ""
Route main        pgp_key          ""
Route main        receipt          etc/receipt.html
Route main        report           etc/report
Route main        supplant         1
Route main        individual_track orders
Route main        track            logs/tracking.asc
Good luck!
-Ron