This is not Pylons specific, so if there is a better place to ask something like this, please feel free to point me in the right direction.
I have a customer who wants me to store credit card information so he can retrieve it and run it manually. I was thinking about doing something like this: user's cc info -> post to app over https -> app encrypts using public key -> encrypted info stored in DB admin user requests cc listing -> encrypted info retrieved from DB -> encrypted info displayed on screen over https -> javascript asks admin user for private key -> javascript decrypts the cc info and displays on screen The advantages of doing this is that the private key never leaves the admin's computer and the credit card information is never transmitted over the wire in plain text. So, my question would be: 1) Is there a way in native Python to generate/use public/private key based encryption? 2) If no to the above, what libraries are avaliable? 3) regardless of the answer to #1 & #2, how would one go about using javascript to decrypt something. I have seen some packages out there, but I am not sure how they would interface with the encryption that I would be using in Python. Or maybe it doesn't matter, is encryption done in a "standards" sort of way such that if Python and Javascript are both using the same "standard" they can encrypt and decrypt each other's information? I am obviously not very familiar with encryption, so feel free to correct any misunderstandings I might have. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
