[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] shop assistant encrypt script problems



Hi y'all,

I'm trying to move a shopping cart system (shop@assistant) from a standard 
hosting solution (where it works fine) onto our new RAQ4 and I'm having 
problems with the script that encrypts the customers card details.

The checkout procedure launches an encryption script on a secure server, 
via a new browser window, which collects the customer card details and then 
uses PGP to send them as an encrypted email.

The collection part works, and the data is encoded and mailed, however the 
customer is then supposed to get a new page saying: 'thanks for your order, 
click here to continue.. etc'. 

Instead all I get is the standard Cobalt Internal Server Error page.

The web server logs give me this:

malformed header from script. Bad header=Pretty Good Privacy(tm) Versio: 
/usr/cgiwrap/cgiwrap

It looks to me as if it might be a permissions problem in the jump from PGP 
to the rest of the script and is being stopped by cgiwrap, but hey, I'm the 
novice here :)

The script sends the collected data through PGP like this:

open PGP, "| $pgpe $pgpargs | mail -s 'Encrypted transaction' $destname";

[ lots of print statements ]

close PGP;

then outputs some standard html.

Tech support blame the script, the shopping cart vendor blames the cgiwrap 
and everyone else is blaming me ;(

I'll be most grateful for any help as this has been going on for some time now: 
I've got very little hair left already and this isn't helping.
Cheers,

Neil
__
      _  
 |\ ||_ | \    Neil James
 | \||_ |_/    ned@xxxxxxx 

http://www.iom.org

Morses law:
      "There's always time for one more pint"