2 ms·
You're absolutely right: If a HSM is just used as a signing/decryption oracle, it doesn't add much value. They're most useful if they can perform high-level op
by lxgr 2y ago
You're absolutely right: If a HSM is just used as a signing/decryption oracle, it doesn't add much value.
They're most useful if they can perform high-level operations, such as "please validate whether the entered card PIN <encrypted PIN block> here matches <PIN verification value on file>, given <credit card number>". The output of that example operation would only be a single bit of information (yes or no), rather than e.g. leaking the entire correct PIN, or even just the decrypted PIN that was entered at the POS.
But even just a signing/decryption oracle can be a step up from just storing long-lived private and secret keys on your application servers, where you'll never know for sure whether they were exfiltrated at some point.