News for hackers. Stuff that matters.
Re:Why I don't like smartcards, HSMs, YubiKeys, etc. by amluto on Thursday November 24, 2016 @03:45PM (#13032654)
> The other key feature usually found in HSMs but not smart cards is backup/cloning without exporting the key (in PKCS#11 terms). This means that the key can be moved between HSMs with all the protections in place. I've yet to see a smart card that does this.

How does this work? Can an attacker buy an identical HSM, back up the key, and restore it onto the new HSM?

Re:Why I don't like smartcards, HSMs, YubiKeys, etc. by nicolas314 on Thursday November 24, 2016 @05:02PM (#13033059)
Theoretically yes, though you would have to explicitly switch the original HSM into backup mode, an operation that requires one or more admins to be present and strongly authenticated, most often with smart cards.
Re:Why I don't like smartcards, HSMs, YubiKeys, etc. by j_s on Friday November 25, 2016 @02:07AM (#13034844)
It sounds like that's exactly how it works (two months ago):

https://news.ycombinator.com/item?id=12069784

The NitroKey HSM requires all previous setup (DKEK?) passwords and PINs. Anecdotal random unnamed vendor? Not so much:

They did, with undocumented commands, export the key from the device in an unencrypted format and loaded it into the other model

Re:Why I don't like smartcards, HSMs, YubiKeys, etc. by matthiasb on Saturday November 26, 2016 @09:38AM (#13043661)
When you initialize your HSM, a key is created which is owned by you and stored in a smartcard/token. If you buy an identical HSM, you shoud need the token to restore keys into it.