3 ms·
How far do you go, how do you use the private key to sign something if you can't keep it anywhere?
by flumpcakes 7mo ago
How far do you go, how do you use the private key to sign something if you can't keep it anywhere?
- JackSlateur 7mo agoTPM You never have the private key, only the ability to ask something to encrypt/sign something
- bob1029 7mo agoThe most typical end-game is using a HSM-backed cloud product, generating the PK in the HSM (it never leaves), and making calls across the network to the key vault service for signing requests. This is a hard tradeoff between availability and compliance. If the cloud service goes down or you have an internet issue, you would lose the ability to sign any new tokens. This is a fairly fundamental aspect of infrastructure so it's worth considering if you absolutely must put it across the wire.
- time4tea 7mo agoIts a spectrum, like all things. It crosses from everyone has the keys like in this example, to centralising a signing service using just software, or using something like KMS or CloudHSM, or YubiHSM, or going big and getting a HA Luna (or similar) HSM setup.