3 ms·
I thought that the whole point of a smartcard is that your keys, once loaded, can never be extracted again, even by the host. Rather than passing secrets to the
by Karunamon 10y ago
I thought that the whole point of a smartcard is that your keys, once loaded, can never be extracted again, even by the host. Rather than passing secrets to the host directly, there's a miniature PKI that does request/signature, secured by a password, using a hardware pinpad if you're very serious.
Little window for error too, since screwing up the password some small number of times results in the card being blocked, and in some cases, destroyed.
Even if the host is running hostile code, the worst it could do is forge signing requests?
- lisper 10y ago> screwing up the password If the host machine is pwned then it's not hard to steal your password. > the worst it could do is forge signing requests Well yeah, that's true. But if the card is protecting a really sensitive asset (like your bitcoin account) then a single forged request can do an awful lot of damage.
- Karunamon 10y agoThe point being that the malware either has to horn in on a legitimate request (and I'm not sure if that's possible or not given how PKI), or issue its own request, which the user has to authorize with password, ideally out of band using a hardware pinpad.
- lisper 10y ago> ideally out of band using a hardware pinpad Not "ideally". Critically. Without an out-of-band PIN the card is easy to compromise. And most cards don't have input devices. And even with a secure PIN entry, without a display you can't actually know what transaction you are authorizing. So yes, the malware would have to "horn in" on a legitimate request. But if your machine is pwned that's not hard.