OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[Full-disclosure] Hardcoded Keys

From: Samuel Beckett (beckett.samuelgmail.com)
Date: Wed Sep 03 2008 - 04:31:25 CDT


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/