Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with email Encrypy contrib using gpg


ozstar

Recommended Posts

Hi,

 

Installed the ccgpg.php file in catalog, but it doesn't work as I can't find it in Admin and I am sure my paths are incorrect. Here is the install and mine.. I am also not sure what this anca and anca.asc is and whether it needs to be changed.

 

INSTALL FILE

$plainTxt = "/home/equine-m/temp/" . "$tmpToken" . "anca";

$crypted = "/home/equine-m/temp/" . "$tmpToken" . "anca.asc";

$gpghome="/home/equine-m/"; //where is your pubring? That dir has to have write access.

$gpgpath="gpg"; //where is the executable

$gpgrecipient="Glen Ross (emailkey) <[email protected]>"; //the key used for encryption

 

MINE

$plainTxt = "/home/MyID/leagueandlegends-www/temp/" . "$tmpToken" . "anca";

$crypted = "/home/MyID/leagueandlegends-www/temp/" . "$tmpToken" . "anca.asc";

$gpghome="/home/myID/leagueandlegends-www/temp/"; //where is your pubring? That dir has to have write access.

$gpgpath="/usr/bin/gpg"; //where is the executable

$gpgrecipient="Sales (emailkey) <[email protected]>";

 

Thanks

Link to comment
Share on other sites

I wish I could help. I really do. But, if it makes you feel any better, I have been in mortal combat with this nasty bear for OVER TWO WEEKS, and I still can't get it to work.

In fact, I don't know of anyone that has, with the exception of the author perhaps.

 

I know my gnupg is working since I can encrypt and decrypt from the comand line just fine. The included cc module in 2.2MS1 also works just fine.

 

With ccgpg payment module, I get all sorts of nasty errors. Some are:

[*] The module name displayed in the admin modules list is MODULE_PAYMENT_CCGPG_TEXT_TITLE. That is just not right.

[*]The cc information on the email is also all mislabeled. ie.

MODULE_PAYMENT_CCGPG_TEXT_CREDIT_CARD_OWNER

MODULE_PAYMENT_CCGPG_TEXT_CREDIT_CARD_NUMBER

MODULE_PAYMENT_CCGPG_TEXT_CREDIT_CARD_EXPIRES

It is as if none of these variables are being translated properly.

[*]A whole pack of errors in the error_log regarding not being able to access my /home/me/temp. Not being able to open the ccgpg.php file for includes here, there and overthere. Not being able to create /home/me/.gnupg (it is already there). Mind all these dirs are wide open (chmod 777)

 

Well, the list goes on and on and on. I am this ' ' close to give up on it and just start cranking out some code of my own. Only problem is I have a paying client that needs his site out by month's end and I can't write OS code on his dime. So, that may have to wait.

I already have all the Perl script that encodes mail using freeware PGP, all I have to do is learn how to write a osCommerce module to incorporate that script.

 

I am sure some of these problems have something to do configuration. Others, maybe ever, user error. But, three lines of documentation are clearly not enough to even start to get this under control. I have installed over five contrib modules and all have worked out of the box as advertised.

I don't know why this one has to be so impossible to handle.

 

Hang in there. It's is bound to get better, since it can't possibly get any worst. :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...