Full Disclosure mailing list archives

Hardcoded Keys


From: "Samuel Beckett" <beckett.samuel () gmail com>
Date: Wed, 3 Sep 2008 16:31:25 +0700

What would be the the worst case if you implement the following scenario for
a credit card transaction:

- Store the private keys as disk files and place them in an area on a server
that is readable from a DLL that contains the decryption algorithm
-Hardcode one password into a DLL and the other password will be supplied by
the service that requests the decryption. This password is then SHA1 hashed
with a passphrase -- the result is used to decrypt the private key.

After the successful credit card transaction, certain credit card details
are then encrypted and stored within the database.
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Current thread: