[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] How-To PGP 6.5
****** message to minivend-users from "Ron Phipps" <takedown@cdsnet.net> ******
Hey All,
I thought I would share my experiences with setting up PGP 6.5 and Minivend
together in hopes to help others out. I found out that I didn't know enough
about PGP and that most of my mistakes were due to this, not a problem with
setting up Minivend to use pgp. Below is the steps I took and some of the
problems I ran into.
1. Install PGP 6.5 for Windows, create a private and public key for the
__ORDERS_TO__ user. (This is so you can read the messages on your end, the
user id should be the name of the ORDERS_TO user and should contain their
email address within < >, for example mine is: "Ron Phipps
<rphipps@reliant-solutions.com>")
2. Ftp the public key file to the linux server.
3. Install PGP 6.5 for linux.
a. su to user minivend (otherwise all commands will be for the user you
are logged in as, which was root in my case)
b. run: pgp -kg (create a key for minivend@yourdomain.com, say yes to
default signing and encryption problems)
c. run: pgp -ka <filename of public key for __ORDERS_TO__> (this adds
the user to the minivend public key ring)
d. run: pgp -ks <pgp user id for __ORDERS_TO__> (this signs the key on
your end so that PGP does not ask if it can trust the key. Otherwise pgp
will gobble up %99 of the cpu waiting for a prompt that you will never see.
I had the output piped to a text file instead of /dev/null and the file grew
to over 20megs before I stopped the pgp processes. No combination of the
+batchmode and +force switches would say yes to this prompt.)
4. Create a script (pgp_start.sh) like Barry Treahy provided for the list:
#!/bin/sh
#The path should point to the .pgp directory in the users directory that
# runs Minivend, such as the minivend user by default
PGPPATH=/home/minivend/.pgp; export PGPPATH
/usr/bin/pgp $1 $2 $3 $4 $5 $6
5. Do as David Babler suggested, change the ENCRYPTOR variable in the
catalog.cfg to:
Variable ENCRYPTOR /usr/bin/pgp_start.sh -fate __ORDERS_TO__ 2>/dev/null
6. Make sure you do not change this line: (I had changed it to a 1, when
the email orders were sent the copy to __ORDERS_TO__ was blank instead of
encrypted with the data)
Route main encrypt 0
Thanks to Barry and David for their help on the list. Because of them and
about 6 hours of debugging I finally have PGP working with Minivend.... and
as always thanks to Mike for such a flexible system!
-Ron
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list