|
|
|
|
|
by ElectricalUnion
378 days ago
|
|
Your bank holds the public key of the "a certain credit card". Your thing in the shape of a credit card is a HSM that holds the private key of the "a certain credit card". A public key (your bank) can verify if a given digital signature generated by a private key (yor card) is valid or not. The "CC Terminal" is a device that given the inputs (timestamp+value_of_transaction+password), asks the "CC HSM" to generate the signature of said values. "CC HSM" is smart and will ON PURPOSE refuse to generate valid signatures if you're being funny and inputing wrong passwords. Bank can further check if the signature makes sense or not. Merchant doesn't need to know the public key, the private key, or your password. |
|
Which makes a hacked terminal problematic since it can display $1.00 as the amount and actually request the CC HSM to sign a $500 transaction.