| ▲ | karel-3d 6 hours ago |
| Well humans should NOT glance at private keys! That is the whole point of HSMs! |
|
| ▲ | consp 5 hours ago | parent | next [-] |
| I'm still flabergasted the HSM allowed this key to be generated. Then again, I've worked with HSMs, there are always many mistakes in the firmware, usually less severe though. |
| |
| ▲ | karel-3d 5 hours ago | parent [-] | | It seems there was some issue with the ceremony with some wrapping/unwrapping scripts. They explicitly said they wanted to export the keys from the HSM; the keys were intended for USA/Europe (for sovereignty reasons) but were never actually used. It seems the HSM itself worked, their ceremony around wrapping/unwrapping didn't. | | |
| ▲ | consp 5 hours ago | parent [-] | | Makes more sense. I'm sure the Utimaco's used (haven't worked with one) also allow all slots to contain the same name or keys with the same name and the device always selecting the first one if you only provide the name and not the slot ID or token identifier. Don't ask how I found out the hard way. | | |
|
|
|
| ▲ | silvestrov 4 hours ago | parent | prev [-] |
| But eMudhra wanted to (was required to) export the keys. So using an HSM in the first place is a security theater. Or that this HSM isn't really an HSM since it allows for export of the private key. The trusted enclave in a MacBook is more secure than this HSM. |
| |
| ▲ | karel-3d 4 hours ago | parent | next [-] | | There is something called "wrapping/unwrapping" - you encrypt the key, move it to the other HSM, and it unwraps it. So what moves around is encrypted. I don't know enough about HSMs to tell you if it's done using symetric or asymetric crypto, but no the key should not move around in the plaintext. The write-up from eMudhra mentions something about wrapping/unwrapping ceremony failing. | |
| ▲ | xvector 4 hours ago | parent | prev [-] | | Most HSMs used by CAs are pretty trash tbh. |
|