Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 02-14-2004 21:26:34

m j
Member
From: Carthage, MO
Registered: 12-12-2003
Posts: 71
Website

Decrypting Credit Card Data

I'm writing a script to pull orders out of CCP and have the credit cards processed by some other software and I was wondering where in the code I could find the routines for decrypting the credit cards.

Right now I'm using Offline Processing as the payment method.

I've read something about the decryption keys being sent to some email address, and that just isn't going to work for me having like 30-100 orders a day being processed. Is there some other way to access the decryption keys?


Perl, MySQL, XHTML, CSS, Web Usability, XML
Matt Johnson

Offline

 

#2 02-15-2004 00:54:45

Ed_H
Member
From: Smashachusetts
Registered: 09-12-2003
Posts: 397
Website

Re: Decrypting Credit Card Data

Check out .  Details how to set a single key.  It's for 5.0, but also applies to Tiki. 

Offline

 

#3 02-15-2004 01:24:27

m j
Member
From: Carthage, MO
Registered: 12-12-2003
Posts: 71
Website

Re: Decrypting Credit Card Data

I'll try that, I think it should work ok for what I need.

I guess the major security concern is that if the same key is used for encrypting all credit cards then if a hacker found that key he'd have access to decrypting all credit card numbers, where right now with each key being unique for each transaction there is no reference for anyone to use to decrypt those keys unless they have a copy of every single email containing the decrypt keys.

I guess if I wanted to maintain a tight wrap on security for what I'm wanting I could mod the code to allow for key encryption where I'd have an encryption key and decryption key, then store the decryption key on a seperate system so if someone was to gain access to the web server they'd have no reference to the decryption key, and you could make all decryption processes take place on the remote box which would be behind the firewall.

Then you could do key rotation to make things even more fun.


Perl, MySQL, XHTML, CSS, Web Usability, XML
Matt Johnson

Offline

 

#4 02-25-2004 16:05:30

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19871
Website

Re: Decrypting Credit Card Data

If you figure out a way to do this, please let me know.  I have not seen a valid method for retrieving data encrypted with an unknown key.  I'm not saying it's not possible - I'm saying I haven't found a way yet.  If you do - I want to know about it, please. 


Nick Hendler

Offline

 

#5 03-06-2006 15:06:19

doubledome
Member
Registered: 09-24-2003
Posts: 83
Website

Re: Decrypting Credit Card Data

Hi All,

I found the topic  related to making 1 encryption key. I've tested out the code and like the ability to use only one key. I have some questions though.

When I modify the adm_track.pl file any orders completed prior to the mod don't have a link to decrypt and don't show the cc number. If I don't change this file, the orders completed after the fix don't decrypt properly.

Is it possible to still require an admin to input the key to retreive the cc number so both old orders with variable encryption keys can be used, and all orders going forward can be decrypted with the static key?

Thanks in advance,
cab


cab713

Offline

 

#6 03-06-2006 15:58:08

Big Dave
Member
Registered: 10-24-2003
Posts: 742

Re: Decrypting Credit Card Data

The changes on that page also remove the Cvv code from the admin, and you have no idea what it is :-)

Offline

 

#7 03-08-2006 16:56:26

doubledome
Member
Registered: 09-24-2003
Posts: 83
Website

Re: Decrypting Credit Card Data

That's a good point. I didn't even realize it was missing. Since the CVV number is only sent in the encryption email how do you get to all 3 pieces of information? CC#, Expiration Date, and CVV while allowing for only one encryption key?

Thanks for pointing that out.

cab


cab713

Offline

 

#8 03-10-2006 16:37:01

doubledome
Member
Registered: 09-24-2003
Posts: 83
Website

Re: Decrypting Credit Card Data

Any ideas out there?


cab713

Offline

 

Board footer