|
|
|
|
|
by still_grokking
1118 days ago
|
|
I still don't get the difference. If someone steals your secrets you're screwed. No matter what kind of secrets that are. That's clear. But if you keep your secrets in a HSM (TPM, SmartCard, …) and only use them to derive session keys directly on the secure device there is absolutely no difference which concrete tech you're using (given that secure cryptography is in place). mTLS is a great approach, no question. But I just don't see how it's more secure than any other public key crypto. |
|
So, if the app host is compromised, the attacker shouldn't have too hard a time to extract the JWT and use it from somewhere else.
In contrast, with an HSM, the attacker would need to have the HSM sign any new connection attempt, which should be a bit more involved if it happens on a different machine.